Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit a86ab34

Browse files
authored
Update README.md
1 parent 5e9b70c commit a86ab34

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

unittest/README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
## UnitTest Output
3+
## UnitTest : lua script , sqlite select/insert/create
44

55
> $ make
66
@@ -32,10 +32,18 @@ ALL TESTS PASSED
3232
Tests run: 21
3333
```
3434

35-
## SQLite Database
35+
## SQLite Database for unittest
36+
37+
`topicTable` contains :
38+
39+
| MQTT topic (key) | function name |
40+
| ------------- | ------------- |
41+
42+
`funcTable` contains :
43+
44+
| function name (key) | function code |
45+
| ------------- | ------------- |
3646

37-
`topicTable` contains MQTT topic as a key and Function Name.
38-
`funcTable` contains Function Name as a key and Function Code.
3947

4048
```
4149
$ sqlite3 code.db
@@ -75,4 +83,7 @@ end
7583
sqlite>
7684
```
7785

86+
## UnitTest : MQTT pub/sub
87+
88+
TBD
7889

0 commit comments

Comments
 (0)