Documentation on writing test adapters? #203
Description
openedon Aug 12, 2019
Hello,
A little background: I'm working on a programming language implementation. While many aspects of the compiler and VM can be easily tested in e.g. xUnit, there are other things that are much easier to test with other tools similar to LLVM's FileCheck. That said, I'd like for these tests to still be run and reported as part of dotnet test
to make the development workflow as simple as possible.
So, from what I gather, the proper way to do this is to implement a test adapter that reports and runs these non-xUnit tests. However, I've not been able to find any current documentation on how to set up a test adapter project and which interfaces I need to implement. Can anyone point me in the right direction?
And a somewhat related question: Is it possible for a test project to declare and export a test adapter directly, such that referencing a NuGet package (e.g. xunit.runner.visualstudio
) is not necessary?