This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
functest_onos [2015/10/20 03:35] Qinglong Lan |
functest_onos [2015/10/20 06:39] (current) Qinglong Lan [Test Cases] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Functest:ONOS test ====== | ====== Functest:ONOS test ====== | ||
* ONOS ML2 test content | * ONOS ML2 test content | ||
- | * Test Plan | + | * Test Design |
* Test Cases | * Test Cases | ||
+ | * Test principle | ||
===== ONOS ML2 test content ===== | ===== ONOS ML2 test content ===== | ||
Line 14: | Line 15: | ||
| ::: | VM go online and fullmesh vxlan build/VM can reach each other | | | ::: | VM go online and fullmesh vxlan build/VM can reach each other | | ||
- | ===== Test Plan ===== | + | ===== Test Design ===== |
Level 1:Testing NB API.Take the method of sending json message to test network/subnet/port api.The testing actions will include post/get/delete/put. | Level 1:Testing NB API.Take the method of sending json message to test network/subnet/port api.The testing actions will include post/get/delete/put. | ||
Line 23: | Line 24: | ||
===== Test Cases ===== | ===== Test Cases ===== | ||
+ | |||
+ | Virtual-net northbound test cases, see details: [[https://wiki.onosproject.org/plugins/viewsource/viewpagesrc.action?pageId=4163875|Link]] | ||
+ | |||
+ | Ovsdbtest test cases, see details:[[https://wiki.onosproject.org/plugins/viewsource/viewpagesrc.action?pageId=4163953|Link]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Test Principle ===== | ||
+ | |||
+ | 1.Test will only use all the functionality related to intents and other sub system in the CLI application | ||
+ | |||
+ | 2.There will be repetitive verification before and after an event | ||
+ | |||
+ | 3.Use of dependency python files to extend the test script functions for code reusability | ||
+ | |||
+ | 4.The test can be extended for more low-level verification | ||
+ | |||
+ | 5.Testing disregards performance of any application or subsystem used and focused entirely on the functionality of the system | ||
+ | |||
+ | 6.Passing criteria of each cases should always include device connectivity | ||