microsoft / microsoft/OSSGadget
Idiomatic Test Organization
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 371
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
The new code organization in https://github.com/microsoft/OSSGadget/pull/476 paves the way for this repository to move towards more idiomatic .NET unit tests. For example:
- source and tests in different directories
- one test project for each assembly under test (i.e.,
Shared.CLI.Testsfor theShared.CLIproject andShared.Lib.Testsfor theShared.Libproject.) - test code organization mirroring the assembly under test (e.g., Shared.CLI.Tests.Tools.DefoggerToolTests
rather thanMicrosoft.CST.OpenSource.Tests.DefoggerTests`) - isolating integration tests to a separate test assembly
Contributor guide
No contributing guide indexed for this repository
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 reviewing pull request 476 and the repository's current source and test layout. Identify each assembly under test and its existing test project, then compare the organization against the issue's four requested patterns. Done means the test projects, namespaces, and integration-test boundaries consistently reflect those patterns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100