Expand description

test_with provides env, file, path, http, https, icmp, tcp macros to help you run test case only with the condition is fulfilled. If the #[test] is absent for the test case, #[test_with] will add it to the test case automatically.

Attribute Macros

Run test case when the environment variable is set.

Run test case when the file exist.

Run test case when the http service exist.

Run test case when the https service exist.

Run test case when the server online. Please make sure the role of test case runner have capability to open socket

Run test case when the path(file or folder) exist.

Run test case when socket connected