InsightSoftwareConsortium / InsightSoftwareConsortium/ITKIOOpenSlide

Improve tests.

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
good first issue help-wanted
Dominant language
C++
Stars
11
Forks
10
PR merge metrics
No merged PRs in 30d

Description

The existing tests should be improved:
- 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).
- Improve the argument check message.
- Remove the unnecessary message prints.
- The coding style should conform to the [ITK coding style](https://itk.org/ItkSoftwareGuide.pdf) (Appendix Three).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.