-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore: bump all NuGet packages to latest and fix CheckLanguageUsage CWD #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 1030
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 27616
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 28923
🏁 Script executed:
Repository: NosCoreIO/NosCore.Networking
Length of output: 397
🌐 Web query:
MSTest DoNotParallelizeAttribute class scope Parallelize ExecutionScope.MethodLevel official documentation💡 Result:
In MSTest, the DoNotParallelizeAttribute and ParallelizeAttribute with ExecutionScope.MethodLevel are used to control concurrent test execution [1][2]. DoNotParallelizeAttribute The DoNotParallelizeAttribute is used to opt out specific assemblies, classes, or test methods from parallel execution [1][2]. When applied to a class, it ensures that all test methods within that class are executed serially, preventing them from running concurrently with other tests [3][4]. When applied to an individual method, only that specific test is restricted from running in parallel with other tests [3][2][4]. It is only necessary to use this attribute when parallel execution has been enabled via the Parallelize attribute at the assembly level [1][2]. Parallelize ExecutionScope.MethodLevel The ParallelizeAttribute, when configured with Scope = ExecutionScope.MethodLevel, enables MSTest to execute individual test methods in parallel across different threads, regardless of their class association [1][5][2]. This is the most granular level of parallelization available in MSTest [6][7]. Interaction When you enable parallelization at the assembly level using [assembly: Parallelize(Scope = ExecutionScope.MethodLevel)], MSTest will execute methods in parallel by default [1][2]. If you apply [DoNotParallelize] to a specific class or method, MSTest will respect that opt-out and execute those specific tests serially, usually after the parallel execution of other tests is completed [3][4]. These attributes are intended to work together to provide flexible control, allowing you to run most tests in parallel while isolating those that share state or resources [1][8][2]. You should avoid using both [assembly: Parallelize] and [assembly: DoNotParallelize] at the assembly level, as they are mutually exclusive and their combined use can lead to ambiguous execution behavior [8].
Citations:
Serialize
LogLanguageTestsbefore changingEnvironment.CurrentDirectory.AssemblyInfo.csenables method-level parallelization. Cleanup alone is unsafe because another test method can run before restoration. Apply[DoNotParallelize]to the class, or pass an explicit root path toI18NTestHelpers.🤖 Prompt for AI Agents