Zakariyya Mughal
2015-02-03 22:57:17 UTC
Hello everyone,
I'm going to keep this thread open for discussion on the changes for
test cleanup that I am working on.
I am curious if some of the following lines are necessary in the tests:
- Enabling autoflush:
# for example in t/bool.t
$| = 1;
- Killing the test if debugging enabled. This is present in 37/93 of the
test files.
# PDL::Core::set_debugging(1);
kill INT,$$ if $ENV{UNDER_DEBUGGER}; # Useful for debugging.
Also, I'm adding Test::Exception the build dependencies, as this makes
the tests much more clear.
Regards,
- Zaki Mughal
I'm going to keep this thread open for discussion on the changes for
test cleanup that I am working on.
I am curious if some of the following lines are necessary in the tests:
- Enabling autoflush:
# for example in t/bool.t
$| = 1;
- Killing the test if debugging enabled. This is present in 37/93 of the
test files.
# PDL::Core::set_debugging(1);
kill INT,$$ if $ENV{UNDER_DEBUGGER}; # Useful for debugging.
Also, I'm adding Test::Exception the build dependencies, as this makes
the tests much more clear.
Regards,
- Zaki Mughal