Skip to content
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

Running unit test cases with grails 3. I tried to fixed many some are… #4608

Closed

Conversation

chetanmaharishi
Copy link
Collaborator

@chetanmaharishi chetanmaharishi commented Apr 30, 2024

Running unit test cases with grails 3. I tried to fixed many some are fixed and passed. Overall 25% test cases are passed. As per new grails 3 i made the code changes so at least test cases are running now with command "grails test-app -Unit"

  • Branch name should be ticket number
  • PR name should be the ticket number and summary
  • Commit should include ticket number and summary (if there are multiple commits with different scope, you can include ticket number with description of what you did)
  • Fix the conficts
  • Let's @ignore units test for services (or move to integration tests if they are useful)
  • Fix remaining unit tests for domains
  • Fix remaining unit tests for controller (maybe) - I don't feel strongly about this since it will require mocks
  • Add tests for domains according to requirements in ticket

… fixed and passed. Overall 25% test cases are passed.

As per new grails 3 i made the code changes so atleast test cases are running now with command "grails test-app -Unit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants