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 have written my first test where I want to assert that a namespace only depends on itself. I think that should be an easy test to write, the use case should be very common, but the library doesn't support that.
The TestResult only contains failed types, and not the invalid types they depend on.
The test still fails after I have fixed the obvious mistakes. There are no more invalid using statements in my source, which make me suspect I use some of the global dependencies found in the generated GlobalUsings.g.cs:
This project is a wonderful initiative, and something really needed. But I cannot use this if I have to dig into generated files and understand the internals.
Please, add a member to TestResult which expose each broken type with their invalid dependencies. While not perfect, it would be so much easier to identify coding mistakes or to fine tune the tests.
The text was updated successfully, but these errors were encountered:
I have written my first test where I want to assert that a namespace only depends on itself. I think that should be an easy test to write, the use case should be very common, but the library doesn't support that.
The
TestResult
only contains failed types, and not the invalid types they depend on.The test still fails after I have fixed the obvious mistakes. There are no more invalid using statements in my source, which make me suspect I use some of the global dependencies found in the generated
GlobalUsings.g.cs
:I included all of them in my test, but it still fails:
This project is a wonderful initiative, and something really needed. But I cannot use this if I have to dig into generated files and understand the internals.
Please, add a member to
TestResult
which expose each broken type with their invalid dependencies. While not perfect, it would be so much easier to identify coding mistakes or to fine tune the tests.The text was updated successfully, but these errors were encountered: