On Fri, 29 Jul 2011 10:06:36 -0400
John Dulaney <jdulaney(a)fedoraproject.org> wrote:
Hey, Tim
Thanks much for this. I had indeed done some work on the actual
mockups, but so far most of my work so far has been in setting up
the actual tests; it looks like that code could be easily integrated
with what you've got to create a final project. I'll go through it
today and get it presentable and try to get it on Review Board by
early this evening. It looks like my code would replace your
pytests.sh script.
Sorry, I dropped the ball on getting the use case conversation started.
I'll get that done shortly.
Assuming that I understand you correctly, I don't see how the
runtests.sh script would be completely replaced. That script was
designed to setup and run tests on the mock infrastructure itself - not
AutoQA. I think I understand what you meant, though.
In a nutshell, it creates the virtual environment, loads up mock
Koji
and mock Bodhi (I hadn't finished with these, I'll change the code to
point to your work) and populates mock Koji and Bodhi with sets of
test packages chosen to give specific results from AutoQA depending
on the actual test cases. It then compares that output from AutoQA
to what is expected and reports on inconsistencies. No report means
everything is hunky dory. It then proceeds to the next test listed in
the file. When it's all done, it spits out a log of passed and
failed tests.
Sounds good to me. Let me know if you want more of the mock interface
fleshed out. I'm happy to help.
I chose to go with a batch style setup because I figured that this
would be a good start it and ignore it until its done situation.
Like I said, I'll try my best to get things ready by this evening;
Monday at the latest.
Cool, good to hear. If you want commit access to that github repo, let
me know. Forking it or putting the code elsewhere or anything else
you had in mind would also work.
I don't think that you'll be able to use review board unless it knows
about the project and it sounds like what you've been working on is
separate from the autoqa repo.
I'm looking forward to seeing what you've put together.
Tim