Tests should be split to unit and functional\integration tests

Bug #1257449 reported by Georgy Okrokvertskhov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
Medium
Georgy Okrokvertskhov

Bug Description

Currently solum.tests contain both unit tests and functional tests. Functional tests require fully set up environment for the application, which is not the case for Jenkins gates. Solum tests should be reorganized to have pure unit tests which will work smoothly at the gates and functional tests which will be executed separately in the testing environment.

Expected Results:
 Two sets of tests: unit tests and functional tests which executed independently

Changed in solum:
assignee: nobody → Georgy Okrokvertskhov (gokrokvertskhov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to solum (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/60075

Adrian Otto (aotto)
Changed in solum:
status: New → In Progress
importance: Undecided → Medium
milestone: none → milestone-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to solum (master)

Reviewed: https://review.openstack.org/60075
Committed: http://github.com/stackforge/solum/commit/69128f438a6f0e360d5b822bf91d62455e536f58
Submitter: Jenkins
Branch: master

commit 69128f438a6f0e360d5b822bf91d62455e536f58
Author: Georgy Okrokvertskhov <email address hidden>
Date: Wed Dec 4 13:00:49 2013 -0800

    Add mocks for Pecan objects

    This commit adds a fake objects which are used by pecan framework in controllers.
    This allows to do write unit tests for Controller class without starting a pecan application.

    Change-Id: Idd883fda93be4f7d28554c26902da0b9744f0bf1
    Related-Bug: #1257449

Revision history for this message
Adrian Otto (aotto) wrote :

Is there more work to do on this bug? I think this matter has actually been solved.

Revision history for this message
Julien Vey (vey-julien) wrote :

Yes, I think we can close this bug

Julien Vey (vey-julien)
Changed in solum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in solum:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.