Task: Split J2N.Tests.xUnit into separate projects per collection to improve performance #109
Labels
is:enhancement
New feature or request
pri:normal
up for grabs
This issue is open to be worked on by anyone
Milestone
The testing performance can be improved greatly if we run them in parallel projects. However, we currently only have 2 projects:
J2N.Tests
J2N.Tests.xUnit
The first one is on NUnit and the second on XUnit. The NUnit tests and XUnit tests each have their own common items (test framework) that they inherit. Since J2N.Tests.xUnit has tens of thousands of tests and will grow over time, a better approach is to divide this library up so tests for each collection (or collection group) are in a separate project. We might need to group some collections in cases where they depend on each other or are closely related in functionality.
We will need to create a common library. Many of the classes in the J2N.Tests.xUnit are derived from Common.Tests.sln in the dotnet/runtime repository and those same files as well as the files in the
Xunit
folder (which were derived from https://github.com/dotnet/arcade) can go into aJ2N.Common.Tests
project. Basically, we will put all of the XUnit extensions as well as the abstract base classes into this project.Each of the folders (such as Collections/Generic/Dictionary contains tests for a single collection and we want to move each of those into a separate project.
Ideally, we won't have Xunit in the project names, but we should put
NUnit
andXunit
folder below thetests
folder, since they will have common dependencies.The text was updated successfully, but these errors were encountered: