Commit b7ba3d90 authored by Piotr Wosiek's avatar Piotr Wosiek

Make the testing section more generic

parent 2ad6230a
...@@ -49,7 +49,7 @@ build: ...@@ -49,7 +49,7 @@ build:
script: script:
- 'dotnet build' - 'dotnet build'
unit tests: tests:
stage: test stage: test
# Despite the fact that the project was already built and restored, # Despite the fact that the project was already built and restored,
# a dependency restore must be performed again. # a dependency restore must be performed again.
...@@ -57,9 +57,11 @@ unit tests: ...@@ -57,9 +57,11 @@ unit tests:
- 'dotnet restore' - 'dotnet restore'
# Run the tests # Run the tests
# #
# You can either run tests only for specific project (like shown below) # You can either run tests for all test projects that are defined in your solution
# or run tests for all test projects that are defined in a solution file # with 'dotnet test' or run tests only for specific project by specifying
# with 'dotnet test'. You may want to define separate jobs for separate # a relative path to the directory where it is located e.g. 'dotnet test ./test/UnitTests'.
# testing projects e.g. IntegrationTests, UnitTests etc. #
# You may want to define separate testing jobs for different types of testing
# e.g. integration tests, unit tests etc.
script: script:
- 'dotnet test ./test/UnitTests' - 'dotnet test'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment