[katello-devel] Please run integration tests prior pushing

Lukas Zapletal lzap at redhat.com
Fri Jul 1 08:14:37 UTC 2011


Hello,

there is a test suite called katello-cli-simple-test.sh which now 
contains over 50 integration tests. For those you need to have Katello 
instance running on localhost (it uses Katello CLI) and it tests the 
overall health (cli - katello - candlepin/pulp).

Please use it. Run it before pushing your changes. It greatly helps to 
find issues which are not catched by unit tests.

# scripts/test/katello-cli-simple-test.sh

Its currently failing with several error messages now:

uninitialized constant 
KatelloNameFormatValidator::KatelloNameFormatValidator

URI::InvalidURIError: bad URI(is not URI?): 
https://localhost/pulp/api/packages//

error: operation failed: ActiveRecord::RecordInvalid: Validation failed: 
Environments is invalid

If you think you know where the problem is in any of the above errors 
please do re-run & fix. Thanks.

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list