Thursday, May 10, 2007

Day 2 - nUnit and TestDriven.net

11am

Added in TestDriven.net which seemed to add in nUnit as well. Installed nUnit seperately as then got the nice interface. TestDriven great as can test the dll without needing a UI application.
Ran the CodeSmith nUnit tests - mainly against the Data layer. These are auto generated by CodeSmith.

Ran our own nUnit tests against the Business Layer (both Manager and Service)
- checkConfigurationTest
this actually tested against the data layer, to make sure our db conenction worked.
We had an issue where we were not referencing the data layer, and it all failed.

- getCurrentQuizTest
tested against service layer
test was it returned notNull

- loadQuestionsTest
tested against service layer
tested that it returned a non empty collection

No comments: