It is difficult to figure out how to execute The Stubborn Network unit tests locally. This pull request improves the situation.
When the required path to the stubs is not exported when executing tests on the command line, the following output is now shown:
[the-stubborn-network] swift test local-test-execution ✭ ✈ ✱
[3/3] Linking StubbornNetworkPackageTests
Assertion failed: Incorrect Test Setup ⚠️
... Please export either a TRAVIS_BUILD_DIR or a STUB_DIR to store the stubs during test execution.
... what about giving `export STUB_DIR='./stubs' && swift test` a try?
: file /Users/kim/Development/the-stubborn-network/Tests/StubbornNetworkTests/TestHelper.swift, line 27
Exited with signal code 4
It is difficult to figure out how to execute The Stubborn Network unit tests locally. This pull request improves the situation.
When the required path to the stubs is not exported when executing tests on the command line, the following output is now shown: