Skip to content

Commit 296c4b2

Browse files
committed
Configure MSTest parallelization
Added assembly-level Parallelize attribute to fix MSTEST0001 analyzer error. Tests will run sequentially (Workers = 0) for safe and predictable execution. This is required by MSTest 4.0+ analyzers.
1 parent 47e651e commit 296c4b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/NosCore.ParserInputGenerator.Tests/UnitTest1.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
using Microsoft.VisualStudio.TestTools.UnitTesting;
22

3+
[assembly: Parallelize(Workers = 0, Scope = ExecutionScope.MethodLevel)]
4+
35
namespace NosCore.ParserInputGenerator.Tests
46
{
57
[TestClass]

0 commit comments

Comments
 (0)