[katello-devel] CLI tests with better granularity
Lukas Zapletal
lzap at redhat.com
Mon Jul 25 14:26:00 UTC 2011
On 07/25/2011 02:12 PM, Dmitri Dolguikh wrote:
> I'm not suggesting getting rid of cli tests, but rather implementing
> them as a set of (mostly) unit tests, plus a set of katello api tests
> (which can be run once-twice a day). Current cli tests are quite slow
> and fragile, and they will only get more slow and fragile with time.
Hmm, let's don't call it unit tests. I would suggest "rspec examples" or
"rspec tests" here. I was confused, because:
Unit test is a method by which individual units of source code are
tested to determine if they are fit for use. A unit is the smallest
testable part of an application. -- wikipedia
Frankly I would rather focus on improving code coverage than re-writing
some cli tests as rspec tests. Maybe the most important ones. Speaking
about slowness there's room for improvement in our rspec suite as well ;-)
AFAIK Garik is already working on recurrent running of CLI tests.
--
Later,
Lukas Zapletal | E32E400A
RHN Satellite Engineering
Red Hat Czech s.r.o. Brno
More information about the katello-devel
mailing list