aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Reference/2_TestFrameworkFunctions.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Reference/2_TestFrameworkFunctions.md')
-rw-r--r--docs/Reference/2_TestFrameworkFunctions.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/Reference/2_TestFrameworkFunctions.md b/docs/Reference/2_TestFrameworkFunctions.md
index 20184ec..ab81d04 100644
--- a/docs/Reference/2_TestFrameworkFunctions.md
+++ b/docs/Reference/2_TestFrameworkFunctions.md
@@ -47,13 +47,15 @@
**_AFT.afterEach()** (if set) functions.
* **_AFT.setBefore(testName, beforeTestFunction)**
+
Set a function to be ran at the beginning of the given *testName* function.
- ```lua
+```lua
_AFT.testVerbStatusSuccess('testPingSuccess','hello', 'ping', {})
_AFT.setBefore("testPingSuccess",function() print("~~~~~ Begin testPingSuccess ~~~~~") end)
_AFT.setAfter("testPingSuccess",function() print("~~~~~ End testPingSuccess ~~~~~") end)
- ```
+```
* **_AFT.setBefore(testName, beforeTestFunction)**
- Set a function to be ran at the end of the given *testName* function. \ No newline at end of file
+
+ Set a function to be ran at the end of the given *testName* function.