...
- Projects of the tests are organized in the same way as projects of the sources (in most cases), see above listing.
- Tests should never write their output data into test-data/ directory. That directory is used for input data files used the tests. Instead they should copy required data into the test output directory (usually bin/Debug or bin/Release, it is very easy to do using FileUtils.Copy() method).
Make sure that output files from the previous test run are deleted somethere in test \ [DS10:SetUp\].Wiki Markup
Where can I find data files which can be used in data access or integration tests?
...
Why?
To make it easy to find the tests for a class.
Unit test categories.
...
Make sure that you put \ [DS10:Category(TestCategory.<name of the category>)\] attribute above your test if it is not a unit test. This is *very important* since it makes sure that all unit tests run very fast (3000 tests in <1 min).
Currently we use the following categories:
...
Info |
---|
Occasionally failing tests
Unstable tests are usually a pain to debug, especially if it can't be reproduced locally. If it only fails on the build server, some time must be invested to add debug logging, or check if the build server has visual studio 2010 to debug (with remote desktop). |
...
The how-to for tortoise is described
Clickable | |||
---|---|---|---|
Wiki Markup | |||
{clickable: | http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-rollback.html | http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-rollback.html | here}{color:#0000ff}here{color}{clickable} |
Section | ||||
---|---|---|---|---|
|
Fix Drag&Drop problem
...