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
If a test file contains file scoped namespace in a mstest project, tests are reported failing although they do pass. As it turns out at the "intermediate results" step the test_name includes the full namespace but at the "MSTest test Nodes" the full_name only containts the class and method name, not the namespace. When converting the file to block style namespace the tests are correctly reported as passing.
- Issafalcon#114
- I don't really know the implications of this because I am doing simple
dotnet projects. So this fix works good enough for me, but probably
not for the full plugin.
If a test file contains file scoped namespace in a mstest project, tests are reported failing although they do pass. As it turns out at the "intermediate results" step the test_name includes the full namespace but at the "MSTest test Nodes" the full_name only containts the class and method name, not the namespace. When converting the file to block style namespace the tests are correctly reported as passing.
By changing in mstest/init.lua this:
to this:
fixes the problem, so it is indeed the missing namespace.
The text was updated successfully, but these errors were encountered: