diff --git a/TEST_APPS/testcases/README.md b/TEST_APPS/testcases/README.md new file mode 100644 index 0000000000..3ceb8b881b --- /dev/null +++ b/TEST_APPS/testcases/README.md @@ -0,0 +1,14 @@ +Icetea tests +============ + +This folder contains all the test cases done with Icetea residing in `mbed-os`. +The tests are divided in to subfolders and each subfolder contains a set of testcases. +The subfolder has a description of all the testcases it contains. + +Testcases +--------- + +Current testcases: + +- [netsocket](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/testcases/netsocket) +- [example](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/testcases/example) diff --git a/TEST_APPS/testcases/example/README.md b/TEST_APPS/testcases/example/README.md new file mode 100644 index 0000000000..7bf8901ccd --- /dev/null +++ b/TEST_APPS/testcases/example/README.md @@ -0,0 +1,24 @@ +Example tests +============= + +This folder contains example tests for Icetea +The test located under this folder is dependent of the application [exampleapp](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/device/exampleapp) +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 + +Testcases +--------- + +### test_cmdline + +**Description:** +Send command line commands to target over serial interface. +This test introduces the Icetea testcase structure to the user. + +**Test steps:** +Send "echo hello world" to the target. +Target sends "hello world" back to the host machine. +Send help to the target. +Target prints out the command line commands the application supports. + +**Expected result:** +The test exits without timeouts. diff --git a/TEST_APPS/testcases/netsocket/README.md b/TEST_APPS/testcases/netsocket/README.md new file mode 100644 index 0000000000..30c66ee337 --- /dev/null +++ b/TEST_APPS/testcases/netsocket/README.md @@ -0,0 +1,7 @@ +Netsocket tests +=============== + +This folder contains netsocket tests for Icetea +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) + +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)