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

More automated testing #41

Open
codeling opened this issue Jul 12, 2019 · 1 comment
Open

More automated testing #41

codeling opened this issue Jul 12, 2019 · 1 comment

Comments

@codeling
Copy link
Contributor

codeling commented Jul 12, 2019

Some testing currently exists: a few unit tests for small helper classes, as well as a few GUI / command line running tests. To extend the coverage, we should add at least one command line running test for every filter in open_iA. Potentially we can also test starting different tools (though this is depending on the Common Project Files feature).

@codeling codeling changed the title (Unit) Testing More automated testing Aug 30, 2019
@codeling
Copy link
Contributor Author

codeling commented Sep 10, 2024

As for integration tests, the following tools now have automated tests in place. These load project files with the tools enabled, which triggers loading them; in the end, a screenshot is produced and uploaded to our CDash test dashboard:

Also, there are now tests for parameters to input and output files for the command line runner.

Good candidates for further improvements:

  1. Adding a test for more (ideally all) available image filters from CommonImageFilters and Segmentation module, run via command line (see CommonImageFilters test definitions
  2. Adding a check for comparing the output of the image filters from 1. to an expected image
  3. Adding tests for other tools (e.g. Volume Player, Inspectr, ...) - these would require adding the ability to load these tools from projects file first, though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant