-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add unit tests for related entities on the generated app #397
Labels
$$ bug-bounty $$
https://www.jhipster.tech/bug-bounties/
theme: server ⚙️
theme: test
up-for-grabs
$100
https://www.jhipster.tech/bug-bounties/
Comments
mraible
added
$$ bug-bounty $$
https://www.jhipster.tech/bug-bounties/
$100
https://www.jhipster.tech/bug-bounties/
labels
Oct 14, 2020
4 tasks
Does the Java template generate these test? I was going to peek at the implementation if it does. |
Last time I checked the main Jhipster generator didn't generate tests for relationships. The idea would be to create unit tests that:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
$$ bug-bounty $$
https://www.jhipster.tech/bug-bounties/
theme: server ⚙️
theme: test
up-for-grabs
$100
https://www.jhipster.tech/bug-bounties/
Overview of the feature request
Add unit tests for related entities on the generated dotnet application.
As an example:
Unit tests for Employee should test adding and removing its Department relationship.
Motivation for or Use Case
Currently the unit tests only adds/removes the main entity.
Changes to the generator may cause issues regarding relationships and are not caught by tests.
This is important to make sure that new PR's are not breaking relationship functionality at this project.
Related issues or PR
The text was updated successfully, but these errors were encountered: