| xUnit1000 |
v2 v3 |
Error |
Test classes must be public |
| xUnit1001 |
v2 v3 |
Error |
Fact methods cannot have parameters |
| xUnit1002 |
v2 v3 |
Error |
Test methods cannot have multiple Fact or Theory attributes |
| xUnit1003 |
v2 v3 |
Error |
Theory methods must have test data |
| xUnit1004 |
v2 v3 |
Info |
Test methods should not be skipped |
| xUnit1005 |
v2 v3 |
Warning |
Fact methods should not have test data |
| xUnit1006 |
v2 v3 |
Warning |
Theory methods should have parameters |
| xUnit1007 |
v2 v3 |
Error |
ClassData must point at a valid class |
| xUnit1008 |
v2 v3 |
Warning |
Test data attribute should only be used on a Theory |
| xUnit1009 |
v2 v3 |
Error |
InlineData values must match the number of method parameters |
| xUnit1010 |
v2 v3 |
Error |
The value is not convertible to the method parameter type |
| xUnit1011 |
v2 v3 |
Error |
There is no matching method parameter |
| xUnit1012 |
v2 v3 |
Warning |
Null should not be used for value type parameters |
| xUnit1013 |
v2 v3 |
Warning |
Public method should be marked as test |
| xUnit1014 |
v2 v3 |
Warning |
MemberData should use nameof operator for member name |
| xUnit1015 |
v2 v3 |
Error |
MemberData must reference an existing member |
| xUnit1016 |
v2 v3 |
Error |
MemberData must reference a public member |
| xUnit1017 |
v2 v3 |
Error |
MemberData must reference a static member |
| xUnit1018 |
v2 v3 |
Error |
MemberData must reference a valid member kind |
| xUnit1019 |
v2 v3 |
Error |
MemberData must reference a member providing a valid data type |
| xUnit1020 |
v2 v3 |
Error |
MemberData must reference a property with a getter |
| xUnit1021 |
v2 v3 |
Warning |
MemberData should not have parameters if the referenced member is not a method |
| xUnit1022 |
v2 v3 |
Error |
Theory methods cannot have a parameter array |
| xUnit1023 |
v2 v3 |
Error |
Theory methods cannot have default parameter values |
| xUnit1024 |
v2 v3 |
Error |
Test methods cannot have overloads |
| xUnit1025 |
v2 v3 |
Warning |
InlineData should be unique within the Theory it belongs to |
| xUnit1026 |
v2 v3 |
Warning |
Theory methods should use all of their parameters |
| xUnit1027 |
v2 v3 |
Error |
Collection definition classes must be public |
| xUnit1028 |
v2 v3 |
Error |
Test method must have valid return type |
| xUnit1029 |
v2 v3 |
Error |
Local functions cannot be test functions |
| xUnit1030 |
v2 v3 |
Warning |
Do not call ConfigureAwait in test method |
| xUnit1031 |
v2 v3 |
Warning |
Do not use blocking task operations in test method |
| xUnit1032 |
v2 v3 |
Error |
Test classes cannot be nested within a generic class |
| xUnit1033 |
v2 v3 |
Info |
Test classes decorated with 'Xunit.IClassFixture' or 'Xunit.ICollectionFixture' should add a constructor argument of type TFixture |
| xUnit1034 |
v2 v3 |
Warning |
Null should only be used for nullable parameters |
| xUnit1035 |
v2 v3 |
Error |
The value is not convertible to the method parameter type |
| xUnit1036 |
v2 v3 |
Error |
There is no matching method parameter |
| xUnit1037 |
v2 v3 |
Error |
There are fewer theory data type arguments than required by the parameters of the test method |
| xUnit1038 |
v2 v3 |
Error |
There are more theory data type arguments than allowed by the parameters of the test method |
| xUnit1039 |
v2 v3 |
Error |
The type argument to theory data is not compatible with the type of the corresponding test method parameter |
| xUnit1040 |
v2 v3 |
Warning |
The type argument to theory data is nullable, while the type of the corresponding test method parameter is not |
| xUnit1041 |
v2 v3 |
Warning |
Fixture arguments to test classes must have fixture sources |
| xUnit1042 |
v2 v3 |
Info |
The member referenced by the MemberData attribute returns untyped data rows |
| xUnit1043 |
v2 v3 |
Error |
Constructors on classes derived from FactAttribute must be public when used on test methods |
| xUnit1044 |
v2 v3 |
Info |
Avoid using TheoryData type arguments that are not serializable |
| xUnit1045 |
v2 v3 |
Info |
Avoid using TheoryData type arguments that might not be serializable |
| xUnit1046 |
v2 v3 |
Info |
Avoid using TheoryDataRow arguments that are not serializable |
| xUnit1047 |
v2 v3 |
Info |
Avoid using TheoryDataRow arguments that might not be serializable |
| xUnit1048 |
v2 v3 |
Warning |
Avoid using 'async void' for test methods as it is deprecated in xUnit.net v3 |
| xUnit1049 |
v2 v3 |
Error |
Do not use 'async void' for test methods as it is no longer supported |
| xUnit1050 |
v2 v3 |
Info |
The class referenced by the ClassData attribute returns untyped data rows |
| xUnit1051 |
v2 v3 |
Warning |
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken |
| xUnit1052 |
v2 v3 |
Warning |
Avoid using 'TheoryData<...>' with types that implement 'ITheoryDataRow' |