You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Tests

Where data access or integration tests can write their output data?

Tests should never write their output data into test-data/ directory. That directory is used for input data files used the tests.

Make sure that output files are deleted if your test code behaviour depends on them.

Where can I find data files which can be used in data access or integration tests?

All data files which are used in the data access or integration tests must be located in the test-data/ directory

Build Server and Automatic Testing

What should I do before checking code in?

Always use TeamCity pre-tested commit if you make changes where others may depend on and you did not run all tests locally! Visual Studio plugin for TeamCity can be downloaded from My Settings & Tools menu on build server.

If someone checks code in that breaks build (new failing tests) - build must be reverted if it is not fixed within 30 min. Use the following script to revert specific build: ... todo

  • No labels