2021-06-08 09:59:10 +03:00
|
|
|
TOP=../../..
|
|
|
|
|
|
|
|
include $(TOP)/Make.config
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
2022-03-21 17:56:57 +03:00
|
|
|
$(DOTNET) build DotNetUnitTests.csproj
|
2021-06-08 09:59:10 +03:00
|
|
|
|
|
|
|
publish:
|
2022-03-21 17:56:57 +03:00
|
|
|
$(DOTNET) publish DotNetUnitTests.csproj
|
2021-06-08 09:59:10 +03:00
|
|
|
|
|
|
|
# Example TEST_FILTER:
|
|
|
|
# TEST_FILTER="--filter FullyQualifiedName~BuildMyCocoaApp"
|
|
|
|
# Docs: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test#filter-option-details
|
|
|
|
run-unit-tests:
|
2022-03-21 17:56:57 +03:00
|
|
|
$(DOTNET) test DotNetUnitTests.csproj $(TEST_FILTER)
|
2021-06-08 09:59:10 +03:00
|
|
|
|
|
|
|
run-published:
|
2022-03-21 17:56:57 +03:00
|
|
|
$(DOTNET) test bin/Debug/net5.0/publish/DotNetUnitTests.dll $(TEST_FILTER)
|