centreon-plugins/tests/resources/resources.resource
Evan-Adam a5d2ace884
CTOR-473-tests-folder-structure-must-follow-code-folder-structure (#4979)
Co-authored-by: Sophie Depassio <sdepassio@centreon.com>
2024-04-04 17:52:49 +02:00

23 lines
657 B
Plaintext

*** Settings ***
Documentation Centreon Plugins for Robot Framework
Library Process
*** Variables ***
${CENTREON_PLUGINS} perl ${CURDIR}${/}..${/}..${/}src${/}centreon_plugins.pl
# one we use package, we need to remove the "perl" part to be sure the plugin is executable and is correctly formated
# with a shebang at the top.
${PERCENT} %
*** Keywords ***
Start Mockoon
[Arguments] ${MOCKOON_JSON}
${process} Start Process
... mockoon-cli
... start
... --data
... ${MOCKOON_JSON}
... --port
... 3000
Sleep 5s
Stop Mockoon
Terminate All Processes