Support Parameterised Test Fixtures
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.6k
- Forks
- 846
- Avg merge
- 1d 8m
- Merged PRs (30d)
- 3
Description
XUnit should implement this feature https://docs.nunit.org/articles/nunit/writing-tests/attributes/testfixture.html#parameterized-test-fixtures in an XUnit way.
Specifically https://docs.nunit.org/articles/nunit/writing-tests/attributes/testfixturesource.html
Here is the my implementation using NUnit 3:
https://github.com/Sauceforge/Saucery
I want to use utilise a similar mechanism in XUnit (which I believe it doesn't yet have, hence this feature request) to write a SauceryX NuGet package
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the NUnit parameterized fixture and TestFixtureSource documentation with the linked Saucery implementation. Then inspect xUnit's existing fixture and test-discovery behavior to determine where an xUnit-specific mechanism would fit. Done means parameterized fixtures can be expressed and discovered in xUnit well enough to support the proposed SauceryX package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100