Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In VS2015 Output log shows number of tests out of order #6

Open
BrainCrumbz opened this issue Feb 10, 2016 · 0 comments
Open

In VS2015 Output log shows number of tests out of order #6

BrainCrumbz opened this issue Feb 10, 2016 · 0 comments

Comments

@BrainCrumbz
Copy link
Collaborator

This is normal, as VS2015 runs tests in a number of threads. But at least the output log showing number of discovered tests should report also the source binary path or similar info. See e.g. this sample output:

------ Discover test started ------
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery started
NSpec VS Adapter 0.1.0.0: [INFO]  Discovering tests in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\AdHocConsoleRunner\bin\Debug\AdHocConsoleRunner.exe'
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery started
NSpec VS Adapter 0.1.0.0: [INFO]  Discovering tests in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\ConfigSampleSpecs\bin\Debug\ConfigSampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [DEBUG] Start collecting tests in 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\ConfigSampleSpecs\bin\Debug\ConfigSampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [DEBUG] Start collecting tests in 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\AdHocConsoleRunner\bin\Debug\AdHocConsoleRunner.exe'
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery started
NSpec VS Adapter 0.1.0.0: [INFO]  Skipping binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\ConfigSampleSystem\bin\Debug\ConfigSampleSystem.exe' because it does not reference nspec library
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery finished
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery started
NSpec VS Adapter 0.1.0.0: [INFO]  Skipping binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSystem\bin\Debug\SampleSystem.dll' because it does not reference nspec library
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery finished
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery started
NSpec VS Adapter 0.1.0.0: [INFO]  Discovering tests in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [DEBUG] Start collecting tests in 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [DEBUG] Finish collecting tests in 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\AdHocConsoleRunner\bin\Debug\AdHocConsoleRunner.exe'
NSpec VS Adapter 0.1.0.0: [INFO]  Found 0 tests
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery finished
NSpec VS Adapter 0.1.0.0: [TRACE] Debug info found for method 'SampleSpecs.ParentSpec'.'<method_context_1>b__2_0' in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [TRACE] Debug info found for method 'SampleSpecs.ParentSpec'.'<method_context_1>b__2_1' in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [TRACE] Debug info found for method 'SampleSpecs.ParentSpec'.'<method_context_2>b__3_0' in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [DEBUG] Cannot get debug info for method 'NSpec.nspec'.'<.ctor>b__0' in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [TRACE] Debug info found for method 'SampleSpecs.ChildSpec'.'<method_context_4>b__1_0' in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [TRACE] Debug info found for method 'SampleSpecs.ChildSpec'.'<method_context_5>b__2_1' in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [TRACE] Debug info found for method 'SampleSpecs.ChildSpec'.'<method_context_5>b__2_2' in binary 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [DEBUG] Finish collecting tests in 'D:\WS\NET\NSpec framework\NSpec.VsAdapter\src\NSpec.VsAdapter\Test\Samples\SampleSpecs\bin\Debug\SampleSpecs.dll'
NSpec VS Adapter 0.1.0.0: [INFO]  Found 7 tests
NSpec VS Adapter 0.1.0.0: [INFO]  Discovery finished
========== Discover test finished: 0 found (0:00:00,4990949) ==========
@BrainCrumbz BrainCrumbz changed the title In VS2015 Output log get In VS2015 Output log shows number of tests out of order Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant