Skip to content

Commit 0e4ae40

Browse files
author
Jarno Lamsa
committed
Add documentation about icetea testcases
1 parent 920db63 commit 0e4ae40

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

TEST_APPS/testcases/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Icetea tests
2+
============
3+
4+
This folder contains all the test cases done with Icetea residing in `mbed-os`.
5+
The tests are divided in to subfolders and each subfolder contains a set of testcases.
6+
The subfolder has a description of all the testcases it contains.
7+
8+
Testcases
9+
---------
10+
11+
Current testcases:
12+
13+
- [netsocket](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/testcases/netsocket)
14+
- [example](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/testcases/example)

TEST_APPS/testcases/example/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Example tests
2+
=============
3+
4+
This folder contains example tests for Icetea
5+
The test located under this folder is dependent of the application [exampleapp](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/device/exampleapp)
6+
The exampleapp is disabled by default, to be able to run the test_cmdline with the exampleapp, either remove the preprocessor macro from exampleapp.cpp or add `-DICETEA_EXAMPLE_ENABLED` to the mbed test command
7+
8+
Testcases
9+
---------
10+
11+
### test_cmdline
12+
13+
**Description:**
14+
Send command line commands to target over serial interface.
15+
This test introduces the Icetea testcase structure to the user.
16+
17+
**Test steps:**
18+
Send "echo hello world" to the target.
19+
Target sends "hello world" back to the host machine.
20+
Send help to the target.
21+
Target prints out the command line commands the application supports.
22+
23+
**Expected result:**
24+
The test exits without timeouts.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Netsocket tests
2+
===============
3+
4+
This folder contains netsocket tests for Icetea
5+
The tests located under this folder are dependent of the application [socket_app](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/device/socket_app)
6+
7+
The test cases under this folder are defined in [Network Socket test plan](https://github.com/ARMmbed/mbed-os/blob/master/TESTS/netsocket/README.md)

0 commit comments

Comments
 (0)