편집

다음을 통해 공유


Testing tools for client-side development

Microsoft provides an automated UI testing framework specifically for model-driven apps called Easy Repro. This framework is built using the SeleniumHQ browser automation open-source project.

Easy Repro provides a set of classes and methods to work with various pages in model-driven apps so you don't need to parse the HTML elements of the application when writing test cases. This makes your tests resilient to changes made in the HTML elements that compose the application pages.

Benefits of unit testing

Unit testing is recommended but not required. When you're just getting started or if the amount of code in your solution is relatively small, you might feel that you spend more time writing tests than the functionality included in your solution.

The benefits of unit testing begin to accrue when your solution becomes larger and more complex. For client-side development, an automated UI framework for testing can help you detect issues initiated by user actions.

When a solution is developed with unit testing, developers report greater productivity and a better quality product.

See also

Testing tools for server-side development
Video: Creating and running UI test
Blog post: Easy Repro: what is it?
Video: Introduction to DevOps