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:29] Qinglong Lan |
functest_onos [2015/10/20 06:39] (current) Qinglong Lan [Test Cases] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | * ONOS ML2 test content | + | ====== Functest:ONOS test ====== |
| + | * ONOS ML2 test content | ||
| + | * Test Design | ||
| + | * Test Cases | ||
| + | * Test principle | ||
| + | |||
| + | ===== ONOS ML2 test content ===== | ||
| ^ Feature ^ Function ^ | ^ Feature ^ Function ^ | ||
| Line 9: | 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 17: | Line 23: | ||
| {{:onos_test_plan.png?nolink&600|}} | {{:onos_test_plan.png?nolink&600|}} | ||
| - | * 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 | ||