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

Control validation testcase counts #308

Closed
therealryan opened this issue Mar 24, 2023 · 0 comments · Fixed by #374
Closed

Control validation testcase counts #308

therealryan opened this issue Mar 24, 2023 · 0 comments · Fixed by #374
Labels
enhancement New feature or request java Pull requests that update Java code

Comments

@therealryan
Copy link
Collaborator

Some of the validation checks can produce a large number of individual test cases. For example, FlowIdentityCheck makes sure that every flow in a model has a unique identity. It creates a test case for every pair of flows, so the number of test cases grows very quickly as the number of flows increases.

This doesn't seem to be a problem when we run the tests via the commandline, but IDEs will probably be doing a bunch of work (creating widgets, laying out UIs, etc) on a per-test-case basis. Thus you can find that running the validation tests in an IDE is a painful choppy-UI experience on larger models.

It'd be nice to offer a way to package multiple checks into fewer junit test cases.

@therealryan therealryan added enhancement New feature or request java Pull requests that update Java code labels Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java Pull requests that update Java code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant