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

Regression testing #34

Open
dlevitas opened this issue Sep 10, 2021 · 4 comments
Open

Regression testing #34

dlevitas opened this issue Sep 10, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dlevitas
Copy link
Collaborator

As an active project, ezBIDS has been going through new enhancements and bug fixes. To better ensure that these updates do not inadvertently cause old bugs to reemerge, we'll need to incorporate regression testings before pushing changes. My thought is that regression testing should be for the analyzer, as it is the last automated step before users begin making edits/modifications on the UI. Given the plethora of datasets provided to us, we can test for different known edge cases to ensure that we improve coverage with each update.

Not sure if Travis CI would be appropriate, but I've heard good things.

@dlevitas dlevitas added the enhancement New feature or request label Sep 10, 2021
@dlevitas dlevitas self-assigned this Sep 10, 2021
@soichih
Copy link
Contributor

soichih commented Sep 10, 2021

Great idea. Yes, I like Travis CI as well. We will need to setup a various "scenarios" under ./test directory (probably just the list file and various sidecard .json that analyzer uses to analyze structure. We could also blank out some .nii.gz so we can push it as part of github without the actual image inside?)

@dlevitas
Copy link
Collaborator Author

dlevitas commented Sep 10, 2021

We could also blank out some .nii.gz so we can push it as part of github without the actual image inside?)

That makes sense; however, the analyzer reads the NIfTI file to generate the PNG thumbnail. "Blanking" the file might cause an issue there. But otherwise, I like this approach

@soichih
Copy link
Contributor

soichih commented Sep 10, 2021 via email

@dlevitas
Copy link
Collaborator Author

That's my hope, but I'll check

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

No branches or pull requests

2 participants