mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
<<<
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user