Adam Williamson <awilliam(a)redhat.com> writes:
On Tue, 2014-02-25 at 18:35 -0800, Andrew Lutomirski wrote:
> Just to mention: there are probably many packages where the equivalent
> of %check can't be run without access to a source tree, so Taskotron
> can't usefully replace %check. I maintain a package like that.
How do you get from that premise to that conclusion? We know where the
source tree is...
Because unit tests are designed to be run as part of the build
process. It's not impossible to run them *after* the build, but good
luck making it work reliably across all packages without manual work.
As I see it:
* %check (or equivalent) is for unit testing
* taskotron (or equivalent) is integration testing
Each has its own value
--
Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Software Engineer - Developer Experience
PGP: 7B087241
Red Hat Inc.
http://cz.redhat.com