tests: Add test specification

Add minor changes in all testscripts, to add name and description
Add generated test specification
Add generated topology image
This commit is contained in:
Mattias Walström
2024-09-06 10:18:16 +02:00
parent 4e41663987
commit e4e7dbd714
135 changed files with 1625 additions and 24 deletions
+6
View File
@@ -0,0 +1,6 @@
:testgroup:
== Misc tests
<<<
include::operational_all/Readme.adoc[]
@@ -0,0 +1,26 @@
=== Get all operational
==== Description
Basic test just to get all operational.
==== Topology
ifdef::topdoc[]
image::/home/lazzer/Documents/addiva/infix/test/case/misc/operational_all/topology.png[Get all operational topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
image::lazzer/Documents/addiva/infix/test/case/misc/operational_all/topology.png[Get all operational topology]
endif::testgroup[]
ifndef::testgroup[]
image::topology.png[Get all operational topology]
endif::testgroup[]
endif::topdoc[]
==== Test sequence
. Initialize
. Get all Operational data
<<<
+4
View File
@@ -1,7 +1,11 @@
#!/usr/bin/env python3
# Test that it is possible to get all operational data
"""
Get all operational
Basic test just to get all operational.
"""
import infamy
import infamy.iface as iface
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

@@ -0,0 +1,28 @@
=== Undefined
==== Description
Undefined
==== Topology
ifdef::topdoc[]
image::/home/lazzer/Documents/addiva/infix/test/case/misc/start_from_startup/topology.png[Undefined topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
image::lazzer/Documents/addiva/infix/test/case/misc/start_from_startup/topology.png[Undefined topology]
endif::testgroup[]
ifndef::testgroup[]
image::topology.png[Undefined topology]
endif::testgroup[]
endif::topdoc[]
==== Test sequence
. Initialize
. Configure
. Reboot and wait for the unit to come back
. Verify hostname
<<<
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB