-
Notifications
You must be signed in to change notification settings - Fork 20
Unit Tests
Sherry edited this page Aug 10, 2017
·
1 revision
- keep tests up to date
- In order to run tests from the test case runner, you need to be sure the database from Hydrodesktop.database is copied into the binaries directory
- Tests which use TestCases Attributes do not work in resharper 4 or 4.5 (maybe 5). Use the Nunit runner to run tests
We should start using Categories
- Hydrodesktop Data
- Data manager
- Model
- repository
- Hydrodektop.Data has unit test
We need a standardized test database, so that the tests can be run on a known dataset.
Look as using approval tests: http://approvaltests.sourceforge.net/ Basically, an approval test will fail the first time, and anytime the output differs. Then you approve the result. The results can be stored in source control, so that you can keep a history.