readme.txt 1.3 KB

12345678910111213141516171819
  1. The description of each case in the test suites, should add descriptions in this file when new cases created in the future.
  2. suite 01-life-cycle:
  3. case 01-install:
  4. install or uninstall apps for times and query apps to see if the app list is expected.
  5. case 02-request:
  6. send request to an app, the app will respond specific attribute objects, host side should get them.
  7. case 03-event:
  8. register event to an app, the app will send event back periodically, host side should get some payload.
  9. case 04-request_internal:
  10. install 2 apps, host sends request to app2, then app2 sends request to app1, finally app1 respond specific payload to host, host side will check it.
  11. case 05-event_internal:
  12. install 2 apps, host sends request to app2, then app2 subscribe app1's event, finally app1 respond specific payload to host, host side will check it.
  13. case 06-timer:
  14. host send request to an app, the app then start a timer, when time goes by 2 seconds, app will respond specific payload to host, host side will check it.
  15. case 07-sensor:
  16. open sensor in app and then config the sensor in on_init, finally app will respond specific payload to host, host side will check it.
  17. case 08-on_destroy:
  18. open sensor in app in on_init, and close the sensor in on_destroy, host should install and uninstall the app successfully.