-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): added support for test project name suffix #78
feat(core): added support for test project name suffix #78
Conversation
Nx Cloud ReportCI ran the following commands for commit 7c6f422. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Hey @photomoose! Thanks for getting this put together, everything looks good 😄. |
Hmmmm.... I am getting 500 errors right now trying to merge. Will try again in a bit. |
@all-contributors please add @photomoose for code |
🎉 This PR is included in version 1.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
I've put up a pull request to add @photomoose! 🎉 |
No problem - just realised I haven't updated the docs; will try to do that tonight. |
No worries, they are auto-generated during CI so the docs are accurate on the website. I need to add a prepush hook to check that the repo is up to date, so that people who look here see good info. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
As discussed in issue #77, this PR adds the ability to specify a suffix for test projects. Usage is as follows:
When creating a test project at the same time as an app, the following command creates a test project named
some-app-unit-tests
with the C# project/namespace named<workspace>.SomeApp.UnitTests
:When creating a new test project for an existing app, the following command creates a test project named
some-app-integration-tests
with the C# project/namespace named<workspace>.SomeApp.IntegrationTests
:Note: tests have been added, but I notice some tests in
generate-test-project.spec.ts
were excluded as they fail due to apps being in sub-directories - not sure why. I've created similar tests for this new functionality, which also fail in the same way, and so they have also been excluded from the test run - I'll leave those with you to look at.