You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The end goal here is to easily enable running tests on Windows. To
enable this, a new `build-tools/scripts/RunNUnitTests.targets` file is
needed. The `Makefile` will invoke this file so we aren't duplicating
anything.
We will continue with this approach in xamarin/xamarin-android, so
running unit tests is simpler on Windows there, too.
## Usage (Windows):
Run all tests:
`msbuild build-tools/scripts/RunNUnitTests.targets`
Filter based on the `--run` switch:
`msbuild build-tools/scripts/RunNUnitTests.targets /p:Run=Java.Interop`
Run tests on specific assemblies:
`msbuild build-tools\scripts\RunNUnitTests.targets
/p:TestAssembly="bin\TestDebug\Java.Interop.Tools.JavaCallableWrappers-Tests.dll;bin\TestDebug\LogcatParse-Tests.dll"`
## Usage (macOS/linux)
`make` commands should remain unchanged. Existing environment variables
should continue to work such as `RUNTIME`, `RUN`, `CONFIGURATION`, etc.
0 commit comments