Skip to content
Devon Kerkhove edited this page May 1, 2015 · 16 revisions

We spend a lot of time making sure the code produces reliable software, but don’t take our word for it, explore our tests and execute them to see if the current codebase passes! The unit tests are constructed with help of the Check framework. If you’re interested in the entire QA and testing process you can read about it in the picoTCP testing article on our website. Let’s dive in!

Unit tests

To compile and run the unit tests:

$ make units ARCH=faulty
$ ./test/units.sh

Looking for a guide on how to write new unit tests? See the wiki section Writing-unit-tests.

Smoke tests

There are smoke tests as well, these make use of the virtual runnable picoapp with a VDE plug as ethernet driver. There’s a test script that runs multiple instances of picoTCP powered picoapps that will communicate with each other through the VDE plugs. Build and run with:

$ make test && make lib
$ sudo ./test/autotest.sh
Clone this wiki locally