asherber / Xunit.Priority

Provides an ITestCaseOrderer that allows you to control the order of execution of Xunit tests within a class.
Apache License 2.0
49 stars 2 forks source link

Use in theory tests #5

Closed Ershad95 closed 4 weeks ago

Ershad95 commented 1 year ago

Hi, how can I use it in theory tests? I means that use it per InlineData attribute.

asherber commented 1 year ago

I don't think there's any way to do that. Xunit reads the attributes on a method by calling GetCustomAttributes(), and the output of that method is non-deterministic.