Outline how Unit Tests can be run

This commit is contained in:
shartte 2020-05-22 19:01:08 +02:00 committed by Paul Knopf
parent a0d8a403c3
commit e03bc15f79

View file

@ -226,6 +226,14 @@ ApplicationWindow {
There aren't really any important features missing that are needed for prime-time. This product is currently used on embedded devices in the medical industry.
# Running Unit Tests
The unit tests can be found in [src/native/Qml.Net.Tests](src/net/Qml.Net.Tests).
They can be run directly from Visual Studio, or by using the `dotnet test` command line tool.
Since the tests rely on the native QmlNet library, you have to ensure the library is in the `PATH` (on Windows) or otherwise discoverable. If you are trying to run tests against the native library built from the same repository, you can put the `src/native/output` folder into your `PATH` or `LD_LIBRARY_PATH` after running the `build.bat` or `build.sh` script.
## Contributors ✨
Thanks goes to these wonderful people!