-
Notifications
You must be signed in to change notification settings - Fork 68
Description
We're contemplating moving our existing .NET projects all into a single monorepo using nx; great work so far with nx-dotnet...!
For a given app, we might have multiple test projects - for example, we might have a test project which contains only unit tests, another which contains integration tests and another which contains acceptance tests:
- MyApp.Tests.Unit
- MyApp.Tests.Integration
- MyApp.Tests.Acceptance
I notice that the @nx-dotnet/core:test generator is hardcoded to create a test project named <app-name>-test - attempting to create another test project for the app fails due to the name already existing.
Could the generator be updated to allow the user to specify/override the "-test" suffix?
Note: admittedly, we could use the xunit Trait attribute to handle this scenario, but I would still prefer not to be constrained by a 1:1 ratio of app to test projects.