From 77b2a9f1b2e48c33b51c33ed32d4ad63bd1e803b Mon Sep 17 00:00:00 2001 From: andrej Date: Wed, 11 Jan 2023 10:15:46 +0100 Subject: [PATCH] integration-tests: update readme - refactor --- tests/integration/robot-ietf-interfaces/README.md | 7 +++++-- tests/integration/robot-ietf-routing/README.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/integration/robot-ietf-interfaces/README.md b/tests/integration/robot-ietf-interfaces/README.md index 08f54481..7fdb4685 100644 --- a/tests/integration/robot-ietf-interfaces/README.md +++ b/tests/integration/robot-ietf-interfaces/README.md @@ -2,8 +2,11 @@ Robot framework tests via the Sysrepo robot library. ## `__init__.robot` -Initializes a default Sysrepo connection as well as a running datastore session at the start of each test. -At the end of a test, the initial datastore data is restored as well as all connections and sessions being closed. +Starts the plugin, nitializes a default Sysrepo connection as well as a running datastore session at the start of each test. +At the end of a test, the initial datastore data is restored and check for success as well as all connections and sessions being closed. + +## `InterfacesInit.resource` +Contains all the keywords used for test setup/teardown in `__init__.robot` ## `InterfaceTests.robot`, `IpTests.robot` These files contain integration test cases diff --git a/tests/integration/robot-ietf-routing/README.md b/tests/integration/robot-ietf-routing/README.md index ddf46f34..b14720f7 100644 --- a/tests/integration/robot-ietf-routing/README.md +++ b/tests/integration/robot-ietf-routing/README.md @@ -2,8 +2,11 @@ Robot framework tests via the Sysrepo robot library. ## `__init__.robot` -Initializes a default Sysrepo connection as well as running and operational datastore sessions at the start of each test. -At the end of a test, the initial datastore data is restored as well as all connections and sessions being closed. +Starts the plugin, initializes a default Sysrepo connection as well as running and operational datastore sessions at the start of each test. +At the end of a test, the initial datastore data is restored and checked for success as well as all connections and sessions being closed. + +## `RoutingInit.resource` +Contains all the keywords used for test setup/teardown in `__init__.robot` ## `InterfaceTests.robot`, `RoutesTests.robot`, `StaticRoutesTests.robot` These files contain integration test cases