[katello-devel] Simple cli test -> system test
corey welton
cwelton at redhat.com
Mon Sep 19 17:11:29 UTC 2011
On Mon, 19 Sep 2011 13:09:36 -0400
corey welton <cwelton at redhat.com> wrote:
> Lukas,
>
> Apologies for the late response, but I've been on PTO the last week.
>
> I recently put together a lightweight python test harness that can be
> used to run just about any commandline executable through a series of
> tests -- usually a variety of command line parameters -- and check
> against expected output that the user provides.
>
> It might be useful for similar tests against the CLI.
>
> You can find it here:
[Ooops. Flubbed keystroke = prematurely sent email.]
https://github.com/cswiii/plethora
Note that the sample recipe file only uses 'ls', but I have
successfully run this, at least a little bit, against
subscription-manager and katello cli.
More information about the katello-devel
mailing list