Telerik JustMock
用於製作單元測試的快速、靈活和完整的模擬工具。
由以下開發商製作:Telerik
ComponentSource 開始代理銷售的日期:2018年
Telerik JustMock is an easy-to-use mocking tool that will help you compose unit tests faster than ever before, with higher quality. JustMock allows you to easily isolate your testing scenario from hard to configure dependencies like databases, requests to web services or third-party libraries. This results in higher productivity and better code. JustMock can mock everything from interfaces, virtual and abstract methods and properties, sealed classes, non-virtual methods and properties, static classes, methods, and properties, private, protected, or internal classes, methods and properties and even system API like DateTime, File, FileInfo, and so on.
圖像1/6
What Is Mocking and Why Do I Need It?
Mocking is a concept in unit testing where real objects are substituted with fake objects that imitate the behavior of the real ones. Mocking is done so that a test can focus on the code being tested and not on the behavior or state of external dependencies.
For example, if you have a data repository class that runs business logic and then saves information to a database, you want your unit test to focus on the business logic and not on preparing, validating...