Граф коммитов

603 Коммитов

Автор SHA1 Сообщение Дата
NormanFrieman d25b3a4340
Update xUnit1010 to trigger when a negative integral value is passed to an unsigned integral parameter 2024-11-05 15:23:26 -08:00
Brad Wilson 51a32ce6f4
Incorrect message replacement for xUnit2032 2024-11-03 15:27:24 -08:00
Brad Wilson cf7f21067e
Update xUnit2018 fixer to use exactMatch (when supported) instead of swapping asserts 2024-11-03 14:09:05 -08:00
Brad Wilson 6b8347c422
Update xUnit2018 to vary its message based on whether assertion library supports exactMatch 2024-11-03 10:57:56 -08:00
Brad Wilson 350ab935b5
Add xUnit2032 to soft-deprecate Assert.IsAssignableFrom 2024-11-03 10:39:42 -08:00
Brad Wilson c707020406
Rename XunitContext.ForV2Core to .ForV2, since this is the standard references for v2 test authors 2024-11-02 21:31:24 -07:00
Brad Wilson 99947a946b
Update xUnit2007 for the new IsType/IsNotType overloads with exact match flag 2024-11-02 20:49:11 -07:00
Brad Wilson 17d74da8a4
Update xUnit2018 for the new IsType/IsNotType overloads with exact match flag 2024-11-02 20:15:19 -07:00
Brad Wilson 6455d4ac7d
Fix package download issue in CI? 2024-11-01 19:13:29 -07:00
Brad Wilson 29cc2e5561
Update tests to xUnit.net v3 2024-11-01 19:00:23 -07:00
Brad Wilson f3e93838e8
Updated README 2024-10-27 21:34:35 -07:00
Brad Wilson edeed7f194
Update xUnit3001 to support IRunnerReporter and IXunitSerializer 2024-10-27 20:52:21 -07:00
Brad Wilson d303131d2c
Rename IAbstractionsContext to ICommonContext and cleaned up XML docs for clarity 2024-10-27 17:04:08 -07:00
Brad Wilson 2dead6c9a3
Add support for RegisterXunitSerializer to xUnit1045/1047 2024-10-27 16:20:57 -07:00
Brad Wilson 2b076588a3
Latest dependencies 2024-10-27 10:57:30 -07:00
Brad Wilson d898aa3687
Update README 2024-10-21 11:15:58 -07:00
campersau cdaa559d8d
Fix xUnit1051 move argument list creation inside of change document (#190) 2024-09-28 10:56:32 -07:00
Brad Wilson 98d4cd744b
Bump up to 1.17.0-pre 2024-08-30 15:37:00 -07:00
Brad Wilson c399ff1419
v1.16.0 2024-08-30 13:42:30 -07:00
campersau 8cf9780e00
Add Fixer for xUnit1051 using TestContext.Current.CancellationToken (#188) 2024-08-25 20:30:25 -07:00
Brad Wilson 5d9f063d08
xunit/xunit#3000: xUnit1012 when using [InlineData(<decimal>)] 2024-08-25 13:51:22 -07:00
Brad Wilson c83af229da
xunit/xunit#3007: xUnit1039 fires on generic methods with generic array or enumerable argument 2024-08-25 13:18:16 -07:00
campersau 3932a3e42f
Fix bug in xUnit1051 to account for arbitrary parameter order (#187) 2024-08-25 10:16:22 -07:00
Brad Wilson bc0dbe48dc
Fix xUnit3002 false positives 2024-08-24 17:44:58 -07:00
Brad Wilson ac7cc01c55
Add -dev to locally built packages 2024-08-24 17:44:29 -07:00
Brad Wilson 227b358c7d
Add 'Roslyn latest' projects for current version validation 2024-08-24 17:44:22 -07:00
Sviatoslav Zubar 70c3fc51fc
Create Analyzer/Fixer for Assert.Single (#186) 2024-08-24 13:53:57 -07:00
Brad Wilson 643599997a
Updated build table in README 2024-07-31 06:40:33 -07:00
Brad Wilson 34542c82db
Fix broken link 2024-07-30 10:33:50 -07:00
Sviatoslav Zubar 01223107db
Create analyzer/fixer for Assert.NotEmpty (#185) 2024-07-24 09:55:11 -07:00
Brad Wilson 4f2297baf3
xunit/xunit#2978: Add a diagnostic suppressor for VSTHRD200 2024-07-22 12:50:45 -07:00
Brad Wilson b404e78575
Restructure suppressor helpers, enable CA1515/CA2007 tests for NetFx 2024-07-22 12:11:01 -07:00
Brad Wilson b815c4ada8
Test name typos 2024-07-22 11:33:41 -07:00
Brad Wilson ed09407ed4
Marking xUnit3002 as Hidden because there are strange false positives I can't track down 2024-07-22 11:09:37 -07:00
Brad Wilson c1c69d6694
Update xUnit3002 to support non-generic type-based assertions (only with typeof(T)) 2024-07-21 19:27:51 -07:00
Brad Wilson 680e0526c5
Update xUnit3001 to check for [JsonTypeID] decorated classes 2024-07-21 18:58:19 -07:00
Brad Wilson 6f1bd5994f
Add xUnit3002: 'Classes which are JSON serializable should not be tested for their concrete type' 2024-07-21 18:57:46 -07:00
Brad Wilson 15dc536f04
Latest dependencies 2024-07-21 17:55:16 -07:00
Brad Wilson 729501d68c
Inverted IsAssignableFrom and use unbound generic for Attribute<T> 2024-07-18 14:52:13 -07:00
Brad Wilson ebfc86ea06
Typo 2024-07-18 14:30:08 -07:00
Brad Wilson 99e783c72e
Fix check for Collection<T> 2024-07-18 14:05:56 -07:00
Brad Wilson d0e74e48e0
Update xUnit1041 to support [Collection(typeof(T))] and [Collection<T>] 2024-07-18 13:29:11 -07:00
Brad Wilson 9823e508f2
Clean up ROSLYN_XXX requirements 2024-07-18 13:28:38 -07:00
Brad Wilson 0af2f27326
Only trigger xUnit1051 inside test methods 2024-07-17 18:36:37 -07:00
Brad Wilson 11c1f3faf2
Update to v3 xunit.runner.visualstudio after bug fixes 2024-07-17 12:52:58 -07:00
Brad Wilson 6c63c7b2b3
Missed a couple Verify collapses 2024-07-17 11:12:26 -07:00
Brad Wilson a07fbd22c4
Convert to use raw strings and /* lang=c#-test */ 2024-07-17 00:32:29 -07:00
Brad Wilson 2188a2df0d
Add xUnit1051 to detect v3 tests which should use the test context cancellation token 2024-07-14 12:25:59 -07:00
Brad Wilson 7f99c6ac8c
#2973: False warning from xUnit1012 when using params string[]? 2024-07-10 00:46:27 -07:00
Brad Wilson 798f46c8cb
Bump up to v1.16.0-pre 2024-07-07 11:53:39 -07:00