Xunit: Run tests from a test class multiple times

Created on 30 Jun 2017  路  4Comments  路  Source: xunit/xunit

Is is possible to run tests from a test class multiple times?

I have seen it is possible for test methods via the DataAttribute mechanism as listed here (https://stackoverflow.com/questions/31873778/xunit-test-fact-multiple-times)

Most helpful comment

why not? any solution for this?

All 4 comments

When I rand the code commented on here visual studio said they all had the same id and only ran the test once.

No, there is no way to do this.

why not? any solution for this?

There are no plans to support this.

Was this page helpful?
0 / 5 - 0 ratings