X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fhs-test%2FREADME.rst;fp=extras%2Fhs-test%2FREADME.rst;h=2caa65d7a836a9d0e9b4fe13259e50d8f30c3192;hb=9418143bd4c8f3bb46c32800c1ae85b20bbe8815;hp=2b1dd2d5713f731854cb87d37956f7464792b0f9;hpb=705f66e5acbc5c7ebc6e10f89a40c4ccdb787cac;p=vpp.git 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``