Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5f3f7ba

Browse files
ianfixesikatz-drizly
authored andcommitted
Whitelist a "test" directory for unit tests
Several unit testing systems exist for Arduino libraries; this patch creates an official "space" within a library to hold whatever files may relate to that functionality. Unlike "Extras", the test files would not become part of the bundled library.
1 parent 6a177eb commit 5f3f7ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎docs/library-specification.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ that weights a few kilobytes may not be such a good idea.
216216
The content of the _extras_ folder is totally ignored by the Arduino development software; you are free to put anything
217217
inside.
218218

219+
#### Unit Tests
220+
221+
A **test** folder can be used by the developer to store any & all files related to unit testing the library.
222+
223+
The content of the _test_ folder is totally ignored by the IDE and will _not_ be bundled with the library.
224+
219225
### Keywords
220226

221227
A list of keywords for the library may be specified in a file named keywords.txt located in the root of the library

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /