rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

dotnet-test - Add ability to run solution tests "by project" #52

Closed brandongregoryscott closed 4 years ago

brandongregoryscott commented 4 years ago

Problem The dotnet-test command runs all of the test assemblies by the solution file itself. Normally, this should be fine, however - the underlying dotnet test runner fires off multiple assemblies to run at the same time, even if those assemblies are set to run tests within the suite in sequence. There's an issue where integration tests that are accessing the same database can and will collide, and the easiest workaround we have for this for the time being is to force the test assemblies to run in serial.

Solution

wintondeshong commented 4 years ago

@brandongregoryscott appears the cli-dotnet-test is failing and the suite itself is hanging. We might need to configure a jest timeout too so if any test goes too long, jest just fails it. Once you resolve these issues in a new branch I'll publish a new version.

wintondeshong commented 4 years ago

Released in version 0.6.0