[Manual Tests] Feature Templates

From the "stx_test_plan_template - 20190226.txt", the following naming
conventions are proposed:

- Test ID: <domain>_<feature>_<unique-id#>
- Test Title: test_<title>
- Tags:

Example to show the proposed format for 2 different domains, one without
subdomains, the other with one or more subdomains:

- DomainX: domainx (without subdomains)
- DomainY: domainy (with subdomains)

The "Table Of Contents" suggested to show at "StarlingX Manual Tests"
page is:

- DomainX
  - Test Requirements
  - Test Cases
- DomainY
  - Test Requirements
  - Domains

There is no intermmediate "Table Of Contents" for "DomainX" since it is a
single page, index.rst will host all "Domain X" information.

In domains with one or more subdomains and since a RST file is proposed per
subdomain, an intermmediate "Table Of Contents" is suggested to show at
"DomainY" index.rst page, based in the naming convention it will show up as:

- SubdomainOne
  - domainy_subdomainone_01
  - domainy_subdomainone_02
  - domainy_subdomainone_03
- SubdomainTwo
  - domainy_subdomaintwo_01
  - domainy_subdomaintwo_02
  - domainy_subdomaintwo_03
  - domainy_subdomaintwo_04
  - domainy_subdomaintwo_05

There is a local "Table Of Content" at the top of each RST file that hosts
test cases for easy navigation.

Depends-On: https://review.openstack.org/#/c/639775

Co-Authored-By: Juan Pablo Gomez <juan.p.gomez@intel.com>
Co-Authored-By: Fernando Hernandez Gonzalez <fernando.hernandez.gonzalez@intel.com>

Change-Id: Id7bf131f220763f09e593147653fae68f43956e3
Signed-off-by: Juan Pablo Gomez <juan.p.gomez@intel.com>
Signed-off-by: Fernando Hernandez Gonzalez <fernando.hernandez.gonzalez@intel.com>
Signed-off-by: Cristopher Lemus <cristopher.j.lemus.contreras@intel.com
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
This commit is contained in:
Abraham Arce 2019-02-27 12:36:42 -06:00
parent be372a27e0
commit af4e468542
5 changed files with 516 additions and 0 deletions

View File

@ -0,0 +1,142 @@
=========
DomainX
=========
DomainX overview, details for DomainX.
-----------------
Test Requirements
-----------------
Details test requirements
----------
Test Cases
----------
.. contents::
:local:
:depth: 1
~~~~~~~~~~
domainx_01
~~~~~~~~~~
:Test ID: domainx_01
:Test Title: test_title
:Tags: tagone, tagtwo
++++++++++++++++++
Testcase Objective
++++++++++++++++++
Details testcase objective
+++++++++++++++++++
Test Pre-Conditions
+++++++++++++++++++
Details pre-conditions
++++++++++
Test Steps
++++++++++
1. One
2. Two
3. Three
4. Four
+++++++++++++++++
Expected Behavior
+++++++++++++++++
Details expected behaviour
++++++++++
References
++++++++++
Details references
~~~~~~~~~~
domainx_02
~~~~~~~~~~
:Test ID: domainx_02
:Test Title: test_title
:Tags: tagone, tagtwo
++++++++++++++++++
Testcase Objective
++++++++++++++++++
Details testcase objective
+++++++++++++++++++
Test Pre-Conditions
+++++++++++++++++++
Details pre-conditions
++++++++++
Test Steps
++++++++++
1. One
2. Two
3. Three
4. Four
+++++++++++++++++
Expected Behavior
+++++++++++++++++
Details expected behaviour
++++++++++
References
++++++++++
Details references
~~~~~~~~~~~~
domainx_03
~~~~~~~~~~~~
:Test ID: domainx_03
:Test Title: test_title
:Tags: tagone, tagtwo
++++++++++++++++++
Testcase Objective
++++++++++++++++++
Details testcase objective
+++++++++++++++++++
Test Pre-Conditions
+++++++++++++++++++
Details pre-conditions
++++++++++
Test Steps
++++++++++
1. One
2. Two
3. Three
4. Four
+++++++++++++++++
Expected Behavior
+++++++++++++++++
Details expected behaviour
++++++++++
References
++++++++++
Details references

View File

@ -0,0 +1,21 @@
=======
DomainY
=======
DomainY overview, details for DomainY.
-----------------
Test Requirements
-----------------
Details test requirements
----------
Subdomains
----------
.. toctree::
:maxdepth: 2
subdomainone
subdomaintwo

View File

@ -0,0 +1,132 @@
============
SubdomainOne
============
Details SubdomainOne Overview.
.. contents::
:local:
:depth: 1
-----------------------
domainy_subdomainone_01
-----------------------
:Test ID: domainy_subdomainone_01
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references
-----------------------
domainy_subdomainone_02
-----------------------
:Test ID: domainy_subdomainone_02
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references
-----------------------
domainy_subdomainone_03
-----------------------
:Test ID: domainy_subdomainone_03
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references

View File

@ -0,0 +1,214 @@
============
SubdomainTwo
============
Details SubdomainTwo Overview.
.. contents::
:local:
:depth: 1
-----------------------
domainy_subdomaintwo_01
-----------------------
:Test ID: domainy_subdomaintwo_01
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references
-----------------------
domainy_subdomaintwo_02
-----------------------
:Test ID: domainy_subdomaintwo_02
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references
-----------------------
domainy_subdomaintwo_03
-----------------------
:Test ID: domainy_subdomaintwo_03
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references
-----------------------
domainy_subdomaintwo_04
-----------------------
:Test ID: domainy_subdomaintwo_04
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references
-----------------------
domainy_subdomaintwo_05
-----------------------
:Test ID: domainy_subdomaintwo_05
:Test Title: test_title
:Tags: tagone, tagtwo
~~~~~~~~~~~~~~~~~~
Testcase Objective
~~~~~~~~~~~~~~~~~~
Details testcase objective
~~~~~~~~~~~~~~~~~~~
Test Pre-Conditions
~~~~~~~~~~~~~~~~~~~
Details pre-conditions
~~~~~~~~~~
Test Steps
~~~~~~~~~~
1. One
2. Two
3. Three
4. Four
~~~~~~~~~~~~~~~~~
Expected Behavior
~~~~~~~~~~~~~~~~~
Details expected behaviour
~~~~~~~~~~
References
~~~~~~~~~~
Details references

View File

@ -8,3 +8,10 @@ Introduction
This project contains Manual Tests that validates StarlingX product.
For more information about StarligX go to https://docs.starlingx.io/.
.. toctree::
:maxdepth: 2
domainx/index
domainy/index