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

603 Коммитов

Автор SHA1 Сообщение Дата
Brad Wilson 2c7d34fcce
Incorrect culture used for string.Format 2024-02-02 17:54:09 -08:00
Brad Wilson 7939f889fc
Update verifier for consistency 2024-01-30 16:55:00 -08:00
JamesTerwilliger 2a50dc06af
Fix for https://github.com/xunit/xunit/issues/2873 (#179) 2024-01-28 01:47:18 +00:00
Brad Wilson 43e92320b6
Update for new IAsyncEnumerable<> assertions 2024-01-16 15:07:38 -08:00
Brad Wilson 43c6329952
Add missing assertions in Constants 2024-01-16 14:41:55 -08:00
Brad Wilson 689703673f
Use nameof where possible in Constants 2024-01-16 14:38:06 -08:00
Brad Wilson 69f0a83ccd
Extend xUnit2011 to cover Assert.CollectionAsync 2024-01-16 12:46:29 -08:00
Brad Wilson 8012919a9a
Bump up to 1.11.0-pre 2024-01-14 22:27:06 -08:00
Brad Wilson 80db851692
v1.10.0 2024-01-14 22:26:17 -08:00
JamesTerwilliger f38ec16c2a
xunit/xunit#2120: Create analyzer for non-public constructors of types derived from FactAttribute (#175) 2024-01-07 22:01:30 -08:00
Brad Wilson 2e69ef969a
Extend xUnit2028 to Assert.NotEmpty as well 2024-01-06 20:47:14 -08:00
Brad Wilson 01f4b5f74e
xunit/xunit#2680: Add Analyzer to warn about calling Assert.Empty with StringValues or ArraySegment<T> 2024-01-06 20:19:32 -08:00
Brad Wilson 179e874b09
Add new placeholders 2024-01-06 20:15:05 -08:00
MartyIX b13d87cdf9
xUnit1030/xUnit1031 should not trigger inside local functions (#178) 2024-01-06 16:50:45 -08:00
Brad Wilson 5e8ac1f829
Consolidate and update AssertEqualShouldNotBeUsedForCollectionSizeCheckTests 2024-01-06 14:43:35 -08:00
Brad Wilson db847bb090
xunit/xunit#2859: Update xUnit2013 to stop warning about .Count check with StringValues 2024-01-06 14:10:16 -08:00
Brad Wilson 4bf17e3cde
Latest dependencies 2024-01-05 15:58:22 -08:00
Brad Wilson 0b8aacdbd2
Bump up to 1.10.0-pre 2024-01-04 19:27:56 -08:00
Brad Wilson dbef5f9be7
v1.9.0 2024-01-04 19:26:54 -08:00
MartyIX 62a23254f6
xUnit1030 should not trigger inside lambda (#177)
Co-authored-by: Brad Wilson <dotnetguy@gmail.com>
2024-01-02 11:27:22 -08:00
Brad Wilson 336423ed7b
Fix issue with xUnit20207 where value is already casted to ISet<T> or IReadOnlySet<T> 2023-12-30 01:18:08 -08:00
Brad Wilson a39562e735
xunit/xunit#2856: xUnit1031 should not apply when syntax is part of an expression tree 2023-12-28 14:41:58 -08:00
Brad Wilson ead9a3b83b
Add xUnit2027 2023-12-25 13:39:22 -08:00
Brad Wilson 3903c5e889
Restructure files in preparation for xUnit2027 2023-12-25 12:39:11 -08:00
Brad Wilson b9e4828c05
Solution has incorrect build associations 2023-12-25 12:39:03 -08:00
etherfield 362e7a03f9
Analyzer for equality checks with hash sets (#176) 2023-12-24 14:14:27 -08:00
Brad Wilson 4ee532eacc
Don't use LanguageVersion.Preview now that we multi-target Roslyn 2023-12-24 12:33:26 -08:00
Brad Wilson cf1f0897ca
xunit/xunit#2852: Array initializer in MemberData is not type checked correctly 2023-12-23 12:23:41 -08:00
Brad Wilson 3caefc8933
Bump up to v1.9.0-pre 2023-12-22 15:07:33 -08:00
Brad Wilson 559d488140
v1.8.0 2023-12-22 14:42:43 -08:00
Brad Wilson 7b8a772f5c
Support Roslyn 3.11, 4.2, 4.4, 4.6, and 4.8 2023-12-14 15:31:46 -08:00
Brad Wilson 8edaa4a606
Update build scripts for the new .NET SDK 8 requirement 2023-12-12 16:08:18 -08:00
Brad Wilson 8aa39e4da2
xunit/xunit#2849: Update xUnit1030 to handle ConfigureAwaitOptions 2023-12-12 16:06:08 -08:00
Brad Wilson 49afdc9427
Restructure DoNotUseConfigureAwaitFixerTests 2023-12-12 15:27:24 -08:00
Brad Wilson a041234dfb
Restructure DoNotUseConfigureAwaitTests 2023-12-12 14:18:53 -08:00
Brad Wilson a34764a363
Update dependencies, and upgrade builder/test projects to .NET 8 2023-12-12 11:35:01 -08:00
Brad Wilson bc3fd98dbe
Shift xUnit1041 to be a Warning instead of an Error 2023-12-12 11:03:46 -08:00
Brad Wilson 4db8815956
xunit/xunit#2846: Optional parameters should not trigger xUnit1041 2023-12-11 13:16:27 -08:00
Brad Wilson 9ca88124ff
Turn off CA1014 2023-12-11 12:57:39 -08:00
Brad Wilson f25646fd16
Convert '== null' and '!= null' 2023-12-09 15:18:36 -08:00
Brad Wilson cf8a4b7993
Enable full analyzers on the production projects 2023-12-09 15:14:04 -08:00
Brad Wilson 14788b809d
#2845: Inherited [Collection] attribute not considered for xUnit1041 2023-12-09 11:55:09 -08:00
Brad Wilson 488306ec08
Bump up to v1.8.0-pre 2023-12-08 12:35:34 -08:00
Brad Wilson 6af2c31d15
v1.7.0 2023-12-08 12:05:04 -08:00
JamesTerwilliger 6e7247de9c
Adding X2024 and X2025 analyzers for Assert.True and Assert.False (#173) 2023-12-04 23:36:26 -08:00
Brad Wilson 1bd651f713
Backfill XML docs on all the context objects 2023-12-04 20:04:05 -08:00
Brad Wilson 7e82f3f9b2
Fill in IRunnerUtilityContext, and add support for v3 runner utility 2023-12-04 19:35:29 -08:00
JamesTerwilliger 2b4f69b78e
Adds an analyzer for suggesting tests move to the strongly-typed TheoryData classes (xunit/xunit#1244) (#171)
Co-authored-by: Brad Wilson <dotnetguy@gmail.com>
2023-12-03 18:03:45 -08:00
Brad Wilson ce9c7fbe51
Add support for IClassFixture<> on the collection definition 2023-12-02 17:40:56 -08:00
Brad Wilson 0bb00ae914
Enable assembly fixture support for xUnit1041 2023-12-02 17:20:21 -08:00