-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Expose generator-jhipster/test/support folder for blueprints #25384
Comments
The main reason for the matrix at main generator is to test files snapshots during refactoring. Feel free to raise a PR moving the matrix from test folder to testing (already exposed) folder. |
@mshima , I did not move the files into testing as that will require a good deal of import refactoring, so left theme as is but exposed them tro /testing. |
* move check-enforcements back into test/support introduced #25384 fixes #25454 * allow blueprint's test to set custom packagePath fixes #25454 * adjust withParentBlueprintLookup test support fixes #25454 * accept suggested chnages * accept comment suggestion Co-authored-by: Marcelo Shima <[email protected]> --------- Co-authored-by: Marcelo Shima <[email protected]>
Overview of the feature request
I am creating a blueprint that will extend angular and server generator. It will be really helpful in unit testing if blueprints have access to generator-jhipster/test/**
jhipster's generator spec for example angular builds config samples with possible combinations using this test support. This makes writing unit tests extremely fast and super simple (thanks to @mshima), but unfortunately these test supports are not exposed.
Currently all possible combinations will have to be created manually which seems redundant.
Related issues or PR
The text was updated successfully, but these errors were encountered: