зеркало из
1
0
Форкнуть 0
Demo project used in testing the UI side of the NUnit3 VS adapter
Перейти к файлу
Terje Sandstrom 9f3a998281 Updated tests and project to work #4 2017-12-23 16:28:54 +01:00
solutions Updated tests and project to work #4 2017-12-23 16:28:54 +01:00
src Updated tests and project to work #4 2017-12-23 16:28:54 +01:00
.gitignore Initial commit of Test Demo 2017-12-14 12:05:36 -08:00
CODE_OF_CONDUCT.md Add License and code of conduct 2017-12-17 08:43:39 -08:00
LICENSE.txt Add License and code of conduct 2017-12-17 08:43:39 -08:00
README.md Initial commit of Test Demo 2017-12-14 12:05:36 -08:00
appveyor.yml Add build scripts for CI 2017-12-19 09:37:01 -08:00
build.cake Use vswhere to find location of vstest.console.exe 2017-12-19 17:02:17 -08:00
build.cmd Add build scripts for CI 2017-12-19 09:37:01 -08:00
build.ps1 Add build scripts for CI 2017-12-19 09:37:01 -08:00

README.md

NUnit3 Test Demo

The Test Demo is primarily intended to be opened in the IDE for the purpose of viewing the visual treatment of various elements. For that reason, there are failures, warnings and ignored tests as well as successful ones.

As a secondary purpose, the demos can be run in CI to ensure that the results under VSTest are as expected.

Structure

Each demo is represented by a VS solution containing a single project. This allows a single demo to be opened in the IDE. The project and solution are in the same directory in order to make scripting simpler and all demos are organized at the top level by the version of Visual Studio used to create them.

Source code is common for all demos and is organized by the language supported.

ExpectXxxx Attributes

The Test Demo code includes definition of special attributes like ExpectPass and ExpectFailure for use on the tests. This allows the tester to group the tests by Traits and easily see that the outcome for each group of expectations is what it should be.

C++ Demo

The C++ version of the Demo includes a much smaller number of tests since certain features of NUnit are not directly accessible from C++. More tests may be added as we develop shims for those features.