No source information found for async test methods
Bug #1076012 reported by
Charlie Poole
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Test Adapter |
Fix Released
|
High
|
Charlie Poole |
Bug Description
Async test methods all show no source information found. This is due to a problem in Diasession, which returns a null for the filename and int.MaxValue for the line number.
Related branches
Changed in nunit-vs-adapter: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Charlie Poole (charlie.poole) |
milestone: | none → 0.94 |
Changed in nunit-vs-adapter: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It's possible to create a workaround for this if one has the MethodInfo for the test available. However, the way we are using NUnit, we don't have actual access to the Test containing a MethodInfo, but only get a TestNode, which is a logical representation of a test, divorced from its implementation.
We would need to create a special runner as part of the test adapter rather than using the standard interfaces to NUnit. Some of the code from nunit.core would need to be repurposed for this.
Right now, it's being postponed from 0.94.