[GBP-54] Add System Tests for GBP Created: 21/May/15  Updated: 16/Jul/15  Due: 18/Jun/15  Resolved: 16/Jul/15

Status: Resolved
Project: groupbasedpolicy
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Thomas Bachman Assignee: Ruijing Guo
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3330
Priority: Highest

 Description   

We need to create the system tests for each user-facing feature. This was started with this gerrit:

https://git.opendaylight.org/gerrit/#/c/16831/

which can be used as a reference.



 Comments   
Comment by Keith Burns [ 31/May/15 ]

Ask BTO for links to robot testing, TWS recordings for same etc.

Comment by Thomas Bachman [ 31/May/15 ]

Whomever takes this on, some links:

The Integration Group's wiki pages on the Robot Framework:

https://wiki.opendaylight.org/view/CrossProject:Integration_Group:Using_Robot_Framework
https://wiki.opendaylight.org/view/CrossProject:Integration_Group:CSIT_Test_Tools:_Robot_Based
https://wiki.opendaylight.org/view/CrossProject:Integration_Group:Robot_Framework

Also look at the March 16th 2015 Technical Work Stream meeting (webex, minutes, slides):
https://wiki.opendaylight.org/view/Tech_Work_Stream:Main#Information_From_Past_Meetings

The Robot Integrated Development Environment (RIDE) is a GUI-based way of developing and running tests. I'd recommend using the framework to write and run tests, as the Robot framework is a bit particular when it comes to formatting test files, etc.

To run ride.py on OS-X, do this:
1) Install wxPython 2.8.12.1
2) Install RIDE:

  1. pip install robotframework-ride
    3) Set up 32-bit mode:
  2. defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

Here’s a link with demo on installing and creating a test case in RIDE:
https://code.google.com/p/robotframework-ride/

Comment by Ruijing Guo [ 16/Jun/15 ]

I am trying to add util/testOfOverlay/ as system test. https://bugs.opendaylight.org/show_bug.cgi?id=3668 is trying to fix testOfOverlay issue.

Comment by Keith Burns [ 17/Jun/15 ]

(In reply to Ruijing Guo from comment #3)
> I am trying to add util/testOfOverlay/ as system test.
> https://bugs.opendaylight.org/show_bug.cgi?id=3668 is trying to fix
> testOfOverlay issue.

Rujing,

Thanks for picking this up.

We can't add this as a system test as it's no longer valid due to all the changes in Lithium.

Comment by Ruijing Guo [ 16/Jul/15 ]

The fix was merged to stable/lithium & master

https://git.opendaylight.org/gerrit/#/c/23930/
https://git.opendaylight.org/gerrit/#/c/23211/

Generated at Wed Feb 07 20:01:01 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.