about tests
Posted: Sun Nov 11, 2012 4:30 am
tests are great, having them integrated is really nice
I have questions:
1. Why aren't tests running on compilation, but only on execution?
if I am developing a library, I would run cobra -test, but sometimes forget to.
would be nice to have the default check them on every compilation.
2. when running -test, the tests in the included libraries (use xx) are also run.
isn't it redundant?
I have questions:
1. Why aren't tests running on compilation, but only on execution?
if I am developing a library, I would run cobra -test, but sometimes forget to.
would be nice to have the default check them on every compilation.
2. when running -test, the tests in the included libraries (use xx) are also run.
isn't it redundant?