Skip to content

Commit

Permalink
Added examples for setup and teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Jaspers authored and Thomas Jaspers committed Dec 23, 2015
1 parent 691e234 commit b6bbf90
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sample-5-setup-teardown/sample-0-suite.txt
@@ -0,0 +1,14 @@
*** Settings ***
Suite Setup Setup Actions
Suite Teardown Teardown Actions

*** Test Cases ***
Test Robot Framework Logging
Log Test Logging

*** Keywords ***
Setup Actions
Log Setup Actions done here

Teardown Actions
Log Teardown Actions done here
17 changes: 17 additions & 0 deletions sample-5-setup-teardown/sample-1-test.txt
@@ -0,0 +1,17 @@
*** Settings ***
Test Setup Setup Actions
Test Teardown Teardown Actions

*** Test Cases ***
Test Robot Framework Logging 1
Log Test Logging 1

Test Robot Framework Logging 2
Log Test Logging 2

*** Keywords ***
Setup Actions
Log Setup Actions done here

Teardown Actions
Log Teardown Actions done here
17 changes: 17 additions & 0 deletions sample-5-setup-teardown/sample-2-testcase.txt
@@ -0,0 +1,17 @@
*** Settings ***

*** Test Cases ***
Test Robot Framework Logging 1
[Setup] Setup Actions
Log Test Logging 1
[Teardown] Teardown Actions

Test Robot Framework Logging 2
Log Test Logging 2

*** Keywords ***
Setup Actions
Log Setup Actions done here

Teardown Actions
Log Teardown Actions done here

0 comments on commit b6bbf90

Please sign in to comment.