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

Implemented - Fails with XML due to bug 798262

Show network

Success

Implemented - Fails with XML due to serialization issues to be investigated

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Create network

Success

Implemented

Failure - BadRequest

Implemented

Rename network

Success

Implemented - Fails with XML due to serialization issues to be investigated

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - BadRequest

Implemented

Delete network

Success

Implemented

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortInUse

Implemented - Fails with JSON due to bug 798261

List Ports

Success

Implemented - Fails with XML due to bug 798262

Show port

Success

Implemented - Fails with XML due to serialization issues to be investigated

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortNotFound

Implemented - Fails with JSON due to bug 798261

Create port

Success

Implemented

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - BadRequest

Implemented - Fails because of weak checks on request body

Delete port

Success

Implemented

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortInUse

Implemented - Fails with JSON due to bug 798261

Set port state

Success

Implemented - Fails with XML due to serialization issues to be investigated

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortNotFound

Implemented - Fails with JSON due to bug 798261

Failure - BadRequest

Implemented - Fails with JSON due to bug 798261

List Attachment details

Success

Implemented - Fails with XML due to serialization issues to be investigated

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortNotFound

Implemented - Fails with JSON due to bug 798261

Plug attachment

Success

Implemented

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortNotFound

Implemented - Fails with JSON due to bug 798261

Unplug attachment

Success

Implemented

Failure - NetworkNotFound

Implemented - Fails with JSON due to bug 798261

Failure - PortNotFound

Implemented - Fails with JSON due to bug 798261

DB

CLI

Plugin Interface

wsgi

Utils

Wiki: QuantumUnitTestStatus (last edited 2011-07-18 22:18:00 by SalvatoreOrlando)