aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Reference/2_TestFrameworkFunctions.md
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-09 13:31:26 +0800
committerRomain Forlot <romain.forlot@iot.bzh>2019-09-09 13:39:57 +0000
commit993277e2c6c842b3344b486eb934c1bcb1156aed (patch)
tree3214baad3e3f3f368e57e42672eb74b1360ffe81 /docs/Reference/2_TestFrameworkFunctions.md
parent734c85f387506b84ee54e4d353e70aa671a8317e (diff)
docs: Fix markdown syntax
1) Fenced code blocks's keyword "```" should be placed in row 0, or markdown interpreter will not recognize it; 2) Add blank line between header and content to produce line break. Bug-AGL: SPEC-2714 Change-Id: I535a5b906df1b9839befa45bd37e921686cb59ae Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
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.