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
I'm trying to figure out if this behavior is acceptable:
mkdir test-tmp
cd test-tmp
dotnet new nunit
dotnet test
I ran this script using teamcity and SSH. The script was executed from under the same user in the same directory. But I was getting different output to the console:
SSH:
Restore complete (0,2s)
test-tmp succeeded (0,1s) → bin/Debug/net9.0/test-tmp.dll
NUnit Adapter 4.6.0.0: Test execution started
Running all tests in /Users/_teamcity/teamcity_agent/work/440f3aaa65ba92e1/test-tmp/bin/Debug/net9.0/test-tmp.dll
NUnit3TestExecutor discovered 1 of 1 NUnit test cases using Current Discovery mode, Non-Explicit run
NUnit Adapter 4.6.0.0: Test execution complete
test-tmp test succeeded (0,6s)
Test summary: total: 1, failed: 0, succeeded: 1, skipped: 0, duration: 0,5s
Build succeeded in 1,1s
Teamcity:
Determining projects to restore...
All projects are up-to-date for restore.
test-tmp -> /Users/_teamcity/teamcity_agent/work/440f3aaa65ba92e1/test-tmp/bin/Debug/net9.0/test-tmp.dll
Test run for /Users/_teamcity/teamcity_agent/work/440f3aaa65ba92e1/test-tmp/bin/Debug/net9.0/test-tmp.dll (.NETCoreApp,Version=v9.0)
VSTest version 17.12.0 (arm64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Passed! - Failed: 0, Passed: 1, Skipped: 0, Total: 1, Duration: 12 ms - test-tmp.dll (net9.0)
I'm trying to figure out if this behavior is acceptable:
I ran this script using teamcity and SSH. The script was executed from under the same user in the same directory. But I was getting different output to the console:
SSH:
Teamcity:
I tried to change the values of
_MSBUILDTLENABLED
andVsTestUseMSBuildOutput
, changing them leads to a change in SSH output, but nothing changes from teamcity.The text was updated successfully, but these errors were encountered: