lundi 8 mars 2021

Get nunit (2.5.10) TestCases with parameters from dll

I got a compiled dll and I need to run every TestCase from this dll seperately with the nunit console tool, one test after the other. To run a TestCase I need to read the name and the parameters of the TestCase from the dll.

I tried relection, but so far I ran into several problems. Is there a simple way to get the whole TestCase to run it with the nunit console? I heard of the --explore option of nunit3 to get all information of a dll, but unfortunately I have to use the version 2.5.10.





Aucun commentaire:

Enregistrer un commentaire