- Debugging Your NUnit Tests
- Extending the Sample
- Debugging Your NUnit Tests
- More On Nant
- Step-by-Step Build
- Conclusion
Extending the Sample
I took my MusicLib sample and added a business layer between WinForms and SQL Server. As an extra twist, I implemented the business layer in VB.NET. (The MusicBiz library is actually little more than a data façadeits purpose here is to demonstrate how more complex builds can be handled.) Download the sample code and you'll see I have a VS.NET solution with the following:
MusicTestNUnit tests written in VB.NET
MusicBizBusiness rules layer written in VB.NET
MusicLibWin Forms client written in C#
MooSQL Server 2000 database
I'm only using my NUnit test library to test the business layer back to the database. Figure 1 illustrates the components of the solution.
Figure 1 Sample solution.
It is useful to learn how to debug NUnit tests within Visual Studio before we delve further into the sample.