nunit / nunit/docs

Document default parallelizability of STA tests

Open
#1,100 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:framework
Dominant language
Dockerfile
Stars
600
Forks
158
Avg merge
16h 8m
Merged PRs (30d)
21

Description

Things I couldn't figure out by reading https://docs.nunit.org/articles/nunit/writing-tests/attributes/parallelizable.html and https://docs.nunit.org/articles/nunit/writing-tests/attributes/apartment.html:

  • Can any STA test run in parallel with any other STA test, and does this happen by default?
  • Can any STA test run in parallel with any MTA test, and does this happen by default?

MTA tests running in parallel with each other by default seems obvious, but it could be stated too.

Also surprising to me is NUnit creating five STA threads. At one point in the past, I had thought there was only one STA queue. I would be interested in knowing if we could document the queues that NUnit uses by default.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked parallelizable.html and apartment.html pages. Verify the default parallel behavior between STA and MTA tests, including the number and use of STA queues, then update the relevant documentation. Done means the default relationships and queue behavior answer each question explicitly.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.