Presentation is loading. Please wait.

Presentation is loading. Please wait.

Test Driven Development in the.Net Framework Sam Lee Mayur Mehta Jaymeen Shah McCoy College of Business Administration Texas State University-San Marcos.

Similar presentations


Presentation on theme: "Test Driven Development in the.Net Framework Sam Lee Mayur Mehta Jaymeen Shah McCoy College of Business Administration Texas State University-San Marcos."— Presentation transcript:

1 Test Driven Development in the.Net Framework Sam Lee Mayur Mehta Jaymeen Shah McCoy College of Business Administration Texas State University-San Marcos

2 Outline Test Driven Development Unit Testing & Visual Studio.Net 2008 Nunit ADO.Net Entity Framework Conclusion

3 Test Driven Development (TDD) Packaged software A powerful global industry Intense time-to-market pressures The need to always adapt software in progress to new functionality TDD: unit test cases are written for the implementation of any new functionality

4 TDD Advantages Flexibly change the behavior of one part of the system without risking side effects in other parts. Delivers software in smaller units that are less complex. Effectively captures requirements such that development tools can be integrated to continue to improve system quality.

5 TDD in Visual Studio.Net 2008 Nunit Free and open software A unit-testing framework for all.Net languages ADO.Net Entity Framework Facilitate the persistence of data. Abstract the structure of the data into a more business-friendly manner (based on object-oriented models)

6 Demo: Nunit

7 Demo: Entity Framework

8 Model Driven Architecture (MDA) The Entity Framework facilitates the construction of a MDA MDA Models (Conn & Forrester, 2006) Platform independent models (like UML class diagram) Platform specific models (.Net framework & code libraries) Transformation models (OR mapping & XML files)

9 Conclusion The classes that access databases can be quickly built and updated using the utilities of ADO.Net Entity Framework. Develop unit test cases to manage the change of entity models. Convergence of two development methodologies: TDD and MDA.


Download ppt "Test Driven Development in the.Net Framework Sam Lee Mayur Mehta Jaymeen Shah McCoy College of Business Administration Texas State University-San Marcos."

Similar presentations


Ads by Google