Automated Unit and Integration Testing with NDbUnit
- 2,140 views
Sample code available here: https://github.com/ruthlesshelp/Presentations ...
Sample code available here: https://github.com/ruthlesshelp/Presentations
When coding and running automated integration tests, have you bumped into "database in an unexpected state" failures? The database is often in the wrong initial state when test code runs. NDbUnit is a .NET library for managing database state for unit and integration testing. As a database testing framework, it provides the capability to arrange the data in the database before and after a test method runs. This helps ensure that the database’s state is consistent for the execution of each test. In this presentation, you will learn:
How to unit test a stored procedure with NDbUnit
How to automate the integration testing of the data access layer
How to enable refactoring through automated integration testing
How to improve automated UI testing with NDbUnit
NDbUnit clears away some very significant automated testing obstacles, which can help you avoid common pitfalls of automated testing.
About Stephen Ritchie - Stephen Ritchie is the author of Pro .NET Best Practices (http://www.apress.com/9781430240235). He has been writing software professionally for over 20 years. He is the .NET best practices steward at Excella, working together with .NET project teams to facilitate and to implement new and better development practices. He is often called upon to setup the continuous integration server, perform code analysis, and automate the testing, packaging and deployment of software.
© All Rights Reserved
- Embed Views
- Views on SlideShare
- Total Views