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

810 Коммитов

Автор SHA1 Сообщение Дата
Youssef Victor bb5de817fe
Support ValueTask-returning test methods for all target frameworks (#4059) 2024-11-20 09:18:30 +01:00
Youssef Victor 01609e7871
Support rsp in MTP (#4072)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-11-20 09:17:46 +01:00
Youssef Victor 50a71e6cce
Consider readonly TestContext as valid (#4053)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-11-19 18:04:27 +01:00
Youssef Victor bde4e5aabe
Refactor unnecessary try/catch (#4057)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-11-19 15:39:33 +01:00
Amaury Levé c203c4603a
Use new output for VSTest acceptance test (#4077) 2024-11-19 15:35:52 +01:00
Youssef Victor 9cb5ec77a8
Partially improve CollectionAssert message (#4027) 2024-11-19 14:21:47 +00:00
Amaury Levé 1012c29696
Fix broken acceptance tests on pipeline (#4080) 2024-11-19 14:42:40 +01:00
dotnet-maestro[bot] d8002dfb7a
[main] Update dependencies from dotnet/arcade, microsoft/testanywhere (#4062)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-11-18 21:39:07 +01:00
Youssef Victor 4e6f740eb4
Fix DataSourceAttribute not being discovered with TestDataSourceDiscoveryOption.DuringDiscovery (#4058) 2024-11-18 10:47:52 +01:00
Youssef Victor 6749aa3568
Implement 'Use proper Assert methods' analyzer (#4052) 2024-11-15 12:58:56 +01:00
Jakub Jareš eaf26c33a6
Pass multiple errors (#4054) 2024-11-13 11:21:57 +01:00
Youssef Victor 5227bd1915
Respect custom ExpectedExceptionBase attribute implementations (#4045) 2024-11-12 11:47:29 +01:00
Youssef Victor be23aac745
Implement codefix for MSTEST0006 (AvoidExpectedException) (#4038) 2024-11-12 09:01:34 +01:00
Amaury Levé 9d65550bdb
Add TestDisplayName property to the TestContext (#4037) 2024-11-11 16:11:21 +00:00
Enji Eid 7a39c346f8
Add code fix for MSTEST0021 (#3827)
Co-authored-by: Youssef Victor <youssefvictor00@gmail.com>
2024-11-11 14:51:52 +01:00
Amaury Levé f9a6140da9
Add TestException property to the TestContext (#4018) 2024-11-11 13:35:25 +01:00
Simon Cropp b17ba162c4
Move off validate arg from VSTest ObjectModel (#4019)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-11-08 10:21:46 +00:00
Simon Cropp 6144f1a912
fix ConditionExpresion typo (#4021) 2024-11-08 09:34:43 +00:00
Simon Cropp e6e7d496f2
remove unreachable code in TokenizeCondition (#4020) 2024-11-08 08:49:14 +01:00
Amaury Levé 34d3d66155
Add TestData property to the TestContext (#4015) 2024-11-07 15:19:29 +01:00
Simon Cropp b3f2c0e6cf
remove redundant tostring (#4005) 2024-11-05 12:29:08 +00:00
Jakub Jareš 9d0ac134a5
Fix hangdump space in dump path (#3994) (#4001) 2024-11-04 16:43:20 +01:00
Youssef Victor f6f23865e7
Handle trivia properly in PreferTestCleanupOverDisposeFixer (#4000)
Co-authored-by: Youssef Fahmy <ygerges@microsoft.com>
2024-11-04 16:41:47 +01:00
Jakub Jareš b4d8c0a491
Fix hangdump not showing tests in progress (#3992) (#3999) 2024-11-04 14:10:43 +00:00
Jakub Jareš e74d3c81ba
Fix hangdump tests to complete the test after timeout (#3995) 2024-11-04 13:44:49 +01:00
Jakub Jareš c66b65c3fd
Fix live output with HotReload (#3983) (#3993) 2024-11-04 13:21:26 +01:00
dotnet-maestro[bot] 974b6bd2ed
[main] Update dependencies from devdiv/DevDiv/vs-code-coverage, dotnet/arcade, microsoft/testanywhere (#3944)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-10-30 20:42:12 +00:00
Amaury Levé da2ebf82fd
Fix MSTEST0018 FP with IEnumerable<SomeType[]> (#3978) 2024-10-30 15:40:01 +01:00
Amaury Levé 6afaacfe95
Fix MSTEST0030 to correctly handle all methods (#3973) 2024-10-30 10:50:33 +01:00
Amaury Levé cdc3746744
Display inner exceptions (#3920)
Co-authored-by: Jakub Jareš <me@jakubjares.com>
2024-10-23 11:10:36 +02:00
Jakub Jareš 9594120d43
Ignore flaky tests (#3947) 2024-10-16 16:36:40 +02:00
Enji Eid 3bd098d735
Add support for testconfig.json entries in MSTest (#3872)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-10-15 09:33:57 +02:00
Jakub Jareš dec5768b8a
Write standard output and error, and respect execution id (#3934) 2024-10-14 10:14:29 +02:00
Marco Rossignoli 7ff261bdc1
Support runsettings environment variables (#3918) 2024-10-07 17:47:44 +02:00
Marco Rossignoli ef98ab4547
Fix casing for event key value (#3915) 2024-10-04 17:34:58 +02:00
Marco Rossignoli 496d67d9fb
Fix RunSettings/RunConfiguration/ResultsDirectory (#3902) 2024-10-02 19:09:03 +02:00
Amaury Levé 26f8f6aee2
[chore] re-enable test (#3897) 2024-10-01 11:57:43 +00:00
Enji Eid 677ca489bb
Fix mstest0036 (#3895) 2024-10-01 11:50:31 +00:00
Marco Rossignoli 07744314a1
Add yy/mm to the log filename for better ordering (#3894) 2024-10-01 12:12:25 +02:00
Enji Eid 7e25262ca9
Fix CollectionAssert.AreEqual for collection of collections ignores even-items (#3893) 2024-09-30 15:49:16 +00:00
Marco Rossignoli 0a8bba2d52
Fix trx in case of exit code != 0 (#3887)
Co-authored-by: Marco Rossignoli <mrossignol@microsoft.com>
2024-09-30 14:42:53 +00:00
Enji Eid cd4d3548a8
Fix CollectionAssert.AreEqual fails for list of strings using IEqualityComparer following (#3886) 2024-09-30 14:15:08 +00:00
Enji Eid f731b2784f
Fix MSTEST0036 is shown for cases where no shadowing happens (#3881) 2024-09-30 15:02:03 +02:00
Marco Rossignoli 56668f3de9
Implement `PassiveNode` for out of process attachments. (#3865) 2024-09-25 19:40:52 +02:00
Amaury Levé cb5f7871c9
MSTEST0018: fix false positive with data member visibility (#3866) 2024-09-25 16:21:44 +02:00
Amaury Levé 4b97111148
Fix: do not show telemetry banner if no telemetry provider is registered (#3862) 2024-09-25 15:50:39 +02:00
Simon Cropp 311fbc770c
Add VerifyThrowsT (#3841)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-09-21 16:05:32 +00:00
Simon Cropp fdcd3b921c
use Timer.CancelAsync from polyfill (#3836)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-09-21 15:15:40 +00:00
Jakub Jareš 2f24d4ce69
Feat: extract reflection behind a provider (#3801)
Co-authored-by: Amaury Levé <amauryleve@microsoft.com>
2024-09-21 16:28:53 +02:00
Simon Cropp ee86bd8a80
remove some redundant lambda parens (#3842) 2024-09-15 15:23:01 +02:00