swagger-api / swagger-api/swagger-codegen
[C#] Unit Tests Project not generated for .NET Standard target framework
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
We do not not target .NET Framework in our development, and so would prefer to use the .NET Standard targetFramework. However, when this is selected the NUnit tests are not generated.
Swagger-codegen version
I am using the version in SwaggerHub; I'm not sure how to find the precise version.
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
Reproduce generation with the .NET Standard target framework and compare the output with a .NET Framework generation, since no source files or test paths are named. Trace the C# generator templates or entry points responsible for the NUnit project; done means a NUnit tests project is generated for .NET Standard and the relevant generation test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100