summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/README.rst
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2024-01-15 13:11:28 +0100
committerFlorin Coras <florin.coras@gmail.com>2024-01-19 17:02:03 +0000
commit9418143bd4c8f3bb46c32800c1ae85b20bbe8815 (patch)
tree154b63f2dfb019385c34a90511e10312343a206e /extras/hs-test/README.rst
parent705f66e5acbc5c7ebc6e10f89a40c4ccdb787cac (diff)
hs-test: change convention for skipping tests
Also re-enable external echo QUIC test. Type: test Change-Id: I3973409c31fd7c42b97ac3ceae1a5cbad6f1b2b6 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'extras/hs-test/README.rst')
-rw-r--r--extras/hs-test/README.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/extras/hs-test/README.rst b/extras/hs-test/README.rst
index 2b1dd2d5713..2caa65d7a83 100644
--- a/extras/hs-test/README.rst
+++ b/extras/hs-test/README.rst
@@ -183,6 +183,18 @@ These types of functions are placed in the ``utils.go`` file. If the external pr
add its installation to ``extras/hs-test/Dockerfile.vpp`` in ``apt-get install`` command.
Alternatively copy the executable from host system to the Docker image, similarly how the VPP executables and libraries are being copied.
+**Skipping tests**
+
+``HstSuite`` provides several methods that can be called in tests for skipping it conditionally or unconditionally such as:
+``skip()``, ``SkipIfMultiWorker()``, ``SkipUnlessExtendedTestsBuilt()``.
+However the tests currently run under test suites which set up topology and containers before actual test is run. For the reason of saving
+test run time it is not advisable to use aforementioned skip methods and instead prefix test name with ``Skip``:
+
+::
+
+ func (s *MySuite) SkipTest(){
+
+
**Eternal dependencies**
* Linux tools ``ip``, ``brctl``