Skip to content

Commit

Permalink
Fixed tests not working by not running them in paralel, re-did GameSc…
Browse files Browse the repository at this point in the history
…riptTests.cs
  • Loading branch information
luizzeroxis committed Aug 31, 2024
1 parent e7da31e commit 41044ee
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 206 deletions.
2 changes: 2 additions & 0 deletions UndertaleModLib.Tests/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This makes so tests run in one collection by default, meaning they will not run in parallel. This is slower but necessary since static variables are used in multiple places, which when running things in parallel can override one another.
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)]
Loading

0 comments on commit 41044ee

Please sign in to comment.