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

break long tests up into more functions #193

Open
stonecoldhughes opened this issue Sep 26, 2024 · 2 comments
Open

break long tests up into more functions #193

stonecoldhughes opened this issue Sep 26, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request testing

Comments

@stonecoldhughes
Copy link
Collaborator

functionality tests seem to often have 3 distinct sections: a "setup", followed by a "solve", followed by a "validation/comparison" step. If these 3 steps are handled in dedicated functions, it may improve readability and make the flow of control and separation of responsibility more clear.

@pelesh
Copy link
Collaborator

pelesh commented Sep 26, 2024

CC @kswirydo

@stonecoldhughes
Copy link
Collaborator Author

for the first PR, let's operate on the testSysRefactor.cpp testing file and use the starter template for the functionality test helper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

2 participants