Skip to content

Feature: Enhanced Test Generator to use child scoped test runs for clarity #1323

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

UnaffiliatedCode
Copy link

  • [YES] Do only one thing
  • [YES] Non breaking API changes
  • [YES] Tested

What did this pull request do?

Currently generated unit tests only generate a single test; if there are failures within that test group test tools native to golang cannot distinguish the results. Allowing the test to spawn child tests creates clarity on which operations fail.
Additionally, added sectional template generation which can be enhanced to allow for future configuration on which sections to include based on the associated metadata generated for the fields/tables.

User Case Description

Looking to have neat unit tests within personal projects.

…es clarity when reviewing failures. Generated content now identifies which operations fail/succeed; allowing toolsets to parse the output gracefully.
@UnaffiliatedCode
Copy link
Author

Please see commit history for easy verification of the changes to the unit test template known as CRUDMethodTest.

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.

1 participant