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

Improve tests. #14

Open
jhlegarreta opened this issue Nov 9, 2018 · 0 comments
Open

Improve tests. #14

jhlegarreta opened this issue Nov 9, 2018 · 0 comments

Comments

@jhlegarreta
Copy link
Member

jhlegarreta commented Nov 9, 2018

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 (Appendix Three).
@jhlegarreta jhlegarreta changed the title Improve tests Improve tests. Nov 9, 2018
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

2 participants