InsightSoftwareConsortium / InsightSoftwareConsortium/ITK

Improve tests.

Open
#6,354 0 comments 0 reactions 0 assignees View on GitHub
Good first issue
Dominant language
C++
Stars
1.7k
Forks
748
Avg merge
1d 1h
Merged PRs (30d)
64

Description

The existing tests should be improved:
- ITK testing conventions on the naming of the test files should be applied.
- The ITK testing macros should be used (e.g. `TRY_EXPECT_NO_EXCEPTION`, `EXERCISE_BASIC_OBJECT_METHODS`, etc.) to avoid boilerplate code.
- The tests should run as long as possible and return the status code at the end (i.e. use a `testStatus` in and change its value as tests fail: requires changing the test design).
- The coding style should conform to the [ITK coding style](https://itk.org/ItkSoftwareGuide.pdf) (Appendix Three).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.