Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arduino/tests
https://github.com/arduino/tests
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/arduino/tests
- Owner: arduino
- Created: 2011-09-02T13:55:03.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-09-22T14:53:28.000Z (about 9 years ago)
- Last Synced: 2024-10-07T09:51:39.895Z (about 1 month ago)
- Language: Arduino
- Homepage:
- Size: 225 KB
- Stars: 21
- Watchers: 11
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Arduino Test Suite
Can be used with C or C++ libraries.
Documentation online here:
http://code.google.com/p/arduino/wiki/ArduinoTestSuiteArduino Test Suite Library
This initial library was contributed by a collaboration between Mark Sproul, and Rick Anderson. The idea was to get a simple test suite going so that anyone can make tests and test cases for the Arduino software. Just as it should be easy to get going with programming an Arduino, we want it to be the same for testing the Arduino. Since this is the initial draft of documentation and code, we expect feedback, and are ready to address any issues, and add improvements. We monitor the Arduino developer mailing list regularly. Please send feed back there. And now onto the documentation:Arduino Test Suite Library
This library allows you to create standard test suite for the Arduino software. The goal is to provide a simple and standard way to build tests and tests cases any way you need to as long as you use a few simple principles, and the results return the standard ArduinoTestResultFormat. That can then be parsed by a continuous integration and test system. Which this library provides built in support for. Your tests can then be associated with various issues, and features. These tests can be added to the official list of tests that are run automatically every time code is changed in the official repository. An additional benefit is that these are standard Arduino sketches that you can on your own Arduinos. You can test your work as you develop, or better yet create your tests first and as you could you should see the tests pass.Functions
```C
ATS_begin()
ATS_end()
ATS_PrintTestStatus()
```