cake-build / cake-build/cake

NUnit2 with Process set to Multiple runs tests sequentially

Open
#1,879 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
1h 15m
Merged PRs (30d)
19

Description

### What You Are Seeing?
Multiple nunit-agent processes are spawned, but judging by CPU usage, they still run sequentially.
![nunit_1](https://user-images.githubusercontent.com/3034230/31650062-fa0e8f60-b315-11e7-940c-1182e873808a.png)
After a while...
![nunit_2](https://user-images.githubusercontent.com/3034230/31650072-01f55dda-b316-11e7-91f8-d68c1ffe4135.png)

### What is Expected?
Tests are run in parallel

### What version of Cake are you using?
0.21.1

### Are you running on a 32 or 64 bit system?
64-bit

### What environment are you running on? Windows? Linux? Mac?
Windows 10 Pro

### Are you running on a CI Server? If so, which one?
No

### How Did You Get This To Happen? (Steps to Reproduce)
`NUnit(multipleTestAssemblies, new NUnitSettings{Process=NUnitProcessOption.Multiple});`

Contributor guide

Open the contributing guide

Research direction

Start by tracing the NUnit invocation using multipleTestAssemblies and NUnitSettings{Process=NUnitProcessOption.Multiple} in the Cake codebase. Reproduce the behavior on the stated Windows 10, 64-bit setup and inspect how the spawned nunit-agent processes are coordinated. Done means the configured multiple processes execute test assemblies concurrently rather than sequentially.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.