#353: Create Mockups for AutoQA External Dependencies
--------------------+-------------------------------------------------------
Reporter: tflink | Owner: jdulaney
Type: task | Status: assigned
Priority: minor | Milestone: 0.6.0
Component: core | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Changes (by tflink):
* priority: major => minor
* milestone: Self Test => 0.6.0
Old description:
== Description ==
AutoQA is tightly coupled with Koji and Bobhi. This tight coupling makes
it difficult to test AutoQA in isolation.
Mocking up Koji and Bodhi would help to isolate AutoQA and provide a
controlled environment to run better tests. By mocking up Bodhi and Koji,
we can test without modifying more than the Bodhi and Koji URLs in config
files.
== Basic Design ==
Koji can be mocked up through its XML-RPC interface and Bodhi can be
mocked up through its RESTful interface.
Both interfaces can be mocked up using [
http://flask.pocoo.org/ Flask]
and its [
https://bitbucket.org/leafstorm/flask-xml-rpc/ XML-RPC
extension]. Both pieces of software are in the Fedora repos.
The interfaces wouldn't be complete - just enough to get AutoQA to work.
New description:
== Description ==
AutoQA is tightly coupled with Koji and Bobhi. This tight coupling makes
it difficult to test AutoQA in isolation.
Mocking up Koji and Bodhi would help to isolate AutoQA and provide a
controlled environment to run better tests. By mocking up Bodhi and Koji,
we can test without modifying more than the Bodhi and Koji URLs in config
files.
This feature includes creating the tools needed to mock up infrastructure
but not actually running the tests.
== Dependencies ==
In order to create an effective mock infrastructure, we need to know what
we want to test which is covered in #352 (Create AutoQA Functional Test
Cases) and #355 (Determine use cases for functional self tests).
The hard dependency is on #355 but #352 is related and will likely be
worked in tandem.
== Basic Design ==
Koji can be mocked up through its XML-RPC interface and Bodhi can be
mocked up through its RESTful interface.
Both interfaces can be mocked up using [
http://flask.pocoo.org/ Flask] and
its [
https://bitbucket.org/leafstorm/flask-xml-rpc/ XML-RPC extension].
Both pieces of software are in the Fedora repos.
The interfaces wouldn't be complete - just enough to get AutoQA to work.
Comment:
Changed description to be a little more clear and to align with discussion
in 0.6.0 planning meeting.
Accepted as NTH feature for 0.6.0 - changing milestone and priority to
match
--
Ticket URL: <
https://fedorahosted.org/autoqa/ticket/353#comment:3>
AutoQA <
http://autoqa.fedorahosted.org>
Automated QA project