How does Nunit generate TestResult.xml

593 views Asked by At

I would like to create an XML or JSON log file after every test using Selenium and NUnit. Instead of starting from the bottom, I noticed that NUnit creates after every test a report file called " TestResult.xml ". The idea is that I want to know how does NUnit generate the test result document to use these parameters and create my own custom log file. Thank you for your help !

1

There are 1 answers

0
flafoux On

You would have to write you own addins, and accessing tests events through EventListeners

Example a of a custom addin