This commit switches to having two globbing patterns, one for unit tests and another for integration tests, and based on the test execution type that is running, these globbing patterns will either be used individually, or combined.
Motivation and Context
Previously, there was an assumption that a single globbing pattern that could be provided that would allow the selection of the files that needed to be tested, for both unit and integration tests. However, in practice, this turned out to not be teh case, as it was over-somplicated, and prone to error.
Testing
Using the choco-licensed code base as a test bed, the following was done:
In each case, make sure that everything is run to completion and is successful, and then verify that the correct test assemblies are located and tested.
Change Types Made
[ ] Bug fix (non-breaking change)
[x] Feature / Enhancement (non-breaking change)
[ ] Breaking change (fix or feature that could cause existing functionality to change)
Description Of Changes
This commit switches to having two globbing patterns, one for unit tests and another for integration tests, and based on the test execution type that is running, these globbing patterns will either be used individually, or combined.
Motivation and Context
Previously, there was an assumption that a single globbing pattern that could be provided that would allow the selection of the files that needed to be tested, for both unit and integration tests. However, in practice, this turned out to not be teh case, as it was over-somplicated, and prone to error.
Testing
Using the choco-licensed code base as a test bed, the following was done:
.\build.bat --target=Test-NUnit --exclusive --testExecutionType=unit
.\build.bat --target=Test-NUnit --exclusive --testExecutionType=integration
.\build.bat --target=Test-NUnit --exclusive --testExecutionType=all
In each case, make sure that everything is run to completion and is successful, and then verify that the correct test assemblies are located and tested.
Change Types Made
Related Issue
Fixes #85
Change Checklist