1 / 9

Test Driven Development in the .Net Framework

Test Driven Development in the .Net Framework. Sam Lee Mayur Mehta Jaymeen Shah McCoy College of Business Administration Texas State University-San Marcos. Outline. Test Driven Development Unit Testing & Visual Studio .Net 2008 Nunit ADO.Net Entity Framework Conclusion.

jaime-boyle
Download Presentation

Test Driven Development in the .Net Framework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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.

More Related