From Fedora Project Wiki

(Moved install+setup into seperate page)
m (I suspect we might start generating a good list of "how to's" ... so reorganizing slightly to accomodate)
Line 14: Line 14:
The [[AutoQA]] project is starting out by using it to automate some existing tests (like <code>repoclosure</code> from {{package|yum-utils}}) and some new tests from the [[Israwhidebroken.com Proposal]].  
The [[AutoQA]] project is starting out by using it to automate some existing tests (like <code>repoclosure</code> from {{package|yum-utils}}) and some new tests from the [[Israwhidebroken.com Proposal]].  


== How do I write a test for autotest? ==
== How do I ... ==


Start by writing some test code in whatever language(s) you feel comfortable with. Don't even worry about autotest or [[AutoQA]] until you have a functioning test. Once you do, see [[Writing AutoQA Tests]] for more info.
* [[Install_and_configure_autotest|How to set up my own autotest server?]]
* [[How to add autotest clients]]?
* [[How to fix failed clients]]?
* [[Writing AutoQA Tests|How to integrate existing tests?]]


== How do I set up my own autotest server? ==
Autotest is currently packaged for [[EPEL]], but due to library dependencies, the package is not yet available for Fedora.  The procedure for installing and configuring autotest is detailed in [[Install_and_configure_autotest]]
== How do I add test clients to a autotest server? ==
{{admon/note|FIXME|This needs more love.  Do we want to discuss ''labels'' and ''platforms'' in this document?}}
For any test clients created through the administrative interface, the autotest service requires passwordless logins in order to access remote test clients.  An RSA key has been created for the autotest user to facilitate passwordless logins.  For any test clients you wish to enable passwordless logins on, type:
<pre># su - autotest
# ssh-copy-id -i $HOME/.ssh/id_rsa.pub  root@client.example.com</pre>
[[Category:QA]]
[[Category:AutoQA]]
[[Category:AutoQA]]

Revision as of 15:32, 4 September 2009

QA.png


Warning.png
This page is a draft only
It is still under construction and content may change. Do not rely on the information on this page.

What is autotest?

Autotest is "a framework for automated testing". It gives us a way to run automated tests and collect results. For more information, see their wiki: http://autotest.kernel.org/

How is it used in Fedora?

We're currently using it as the test harness for AutoQA. It handles the dirty work of getting code onto test machines, running it, and holding all the results.

Currently there is no public autotest instance. The QA team has been working on packaging autotest for use in the Fedora infrastructure.

The AutoQA project is starting out by using it to automate some existing tests (like repoclosure from Package-x-generic-16.pngyum-utils) and some new tests from the Israwhidebroken.com Proposal.

How do I ...