Jump to: navigation, search

Difference between revisions of "QuantumUnitTestStatus"

m (Text replace - "__NOTOC__" to "")
 
(25 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
+
 
 
This page keeps track of the unit tests implemented for the Quantum Service.
 
This page keeps track of the unit tests implemented for the Quantum Service.
  
Line 5: Line 5:
 
The branch for unit tests can be found at lp:~netstack/quantum/quantum-unit-tests.
 
The branch for unit tests can be found at lp:~netstack/quantum/quantum-unit-tests.
  
 +
All unit tests have been implemented for both JSON and XML formats.
 
Functional tests will be provided by this branch as well.
 
Functional tests will be provided by this branch as well.
  
Line 16: Line 17:
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
 
|valign="top" rowspan="2" | Create network  
 
|valign="top" rowspan="2" | Create network  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[BadRequest]]
+
|  Failure - BadRequest  
 
|-
 
|-
 
|valign="top" rowspan="3" | Rename network  
 
|valign="top" rowspan="3" | Rename network  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[BadRequest]]
+
|  Failure - BadRequest  
 
|-
 
|-
 
|valign="top" rowspan="3" | Delete network  
 
|valign="top" rowspan="3" | Delete network  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[PortInUse]]
+
|  Failure - PortInUse  
 
|-
 
|-
 
|  List Ports  
 
|  List Ports  
Line 43: Line 44:
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[PortNotFound]]
+
|  Failure - PortNotFound  
 
|-
 
|-
 
|valign="top" rowspan="3" | Create port  
 
|valign="top" rowspan="3" | Create port  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[BadRequest]]
+
|  Failure - BadRequest  
 
|-
 
|-
 
|valign="top" rowspan="4" | Delete port  
 
|valign="top" rowspan="4" | Delete port  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[PortNotFound]]
+
|  Failure - PortNotFound  
 
|-
 
|-
|  Failure - [[PortInUse]]
+
|  Failure - PortInUse  
 
|-
 
|-
 
|valign="top" rowspan="4" | Set port state  
 
|valign="top" rowspan="4" | Set port state  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[PortNotFound]]
+
|  Failure - PortNotFound  
 
|-
 
|-
|  Failure - [[BadRequest]]
+
|  Failure - BadRequest  
 
|-
 
|-
 
|valign="top" rowspan="3" | List Attachment details  
 
|valign="top" rowspan="3" | List Attachment details  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[PortNotFound]]
+
|  Failure - PortNotFound  
 
|-
 
|-
|valign="top" rowspan="4" | Plug attachment  
+
|valign="top" rowspan="3" | Plug attachment  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
|-
 
|  Failure - [[PortNotFound]]
 
 
|-
 
|-
|  Failure - [[BadRequest]]
+
|  Failure - PortNotFound
 
|-
 
|-
 
|valign="top" rowspan="3" | Unplug attachment  
 
|valign="top" rowspan="3" | Unplug attachment  
 
|  Success  
 
|  Success  
 
|-
 
|-
|  Failure - [[NetworkNotFound]]
+
|  Failure - NetworkNotFound  
 
|-
 
|-
|  Failure - [[PortNotFound]]
+
|  Failure - PortNotFound  
 
|}
 
|}
  
Line 100: Line 99:
 
== CLI ==
 
== CLI ==
  
== Plugin Interface ==  
+
== Plugin Interface ==
  
 
== wsgi ==
 
== wsgi ==
  
 
== Utils ==
 
== Utils ==

Latest revision as of 23:30, 17 February 2013

This page keeps track of the unit tests implemented for the Quantum Service.

Please note that, as of today (July 6th 2011), unit tests are not yet in trunk. The branch for unit tests can be found at lp:~netstack/quantum/quantum-unit-tests.

All unit tests have been implemented for both JSON and XML formats. Functional tests will be provided by this branch as well.

API

List networks Success
Show network Success
Failure - NetworkNotFound
Create network Success
Failure - BadRequest
Rename network Success
Failure - NetworkNotFound
Failure - BadRequest
Delete network Success
Failure - NetworkNotFound
Failure - PortInUse
List Ports Success
Show port Success
Failure - NetworkNotFound
Failure - PortNotFound
Create port Success
Failure - NetworkNotFound
Failure - BadRequest
Delete port Success
Failure - NetworkNotFound
Failure - PortNotFound
Failure - PortInUse
Set port state Success
Failure - NetworkNotFound
Failure - PortNotFound
Failure - BadRequest
List Attachment details Success
Failure - NetworkNotFound
Failure - PortNotFound
Plug attachment Success
Failure - NetworkNotFound
Failure - PortNotFound
Unplug attachment Success
Failure - NetworkNotFound
Failure - PortNotFound

DB

CLI

Plugin Interface

wsgi

Utils