Created
April 7, 2015 06:00
-
-
Save up1/d4978414e0986e13cbff to your computer and use it in GitHub Desktop.
Demo :: Robot Framework => re-test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library String | |
*** Testcases *** | |
Stable test | |
Should Be True ${True} | |
Unstable test | |
${bool} = random_boolean | |
Should Be True ${bool} | |
*** Keywords *** | |
random_boolean | |
${nb_string} = generate random string 1 [NUMBERS] | |
${nb_int} = convert to integer ${nb_string} | |
Run keyword and return evaluate (${nb_int} % 2) == 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment