1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
Dom Postorivo
9340582797 ARRAY_WITHIN in unity 2019-04-20 14:10:56 -04:00
Fabian Zahn
92a345b264 Added documentation and changed all the code examples to backtick (code) blocks. 2019-01-24 20:12:16 +01:00
Dan Yeaw
100c73d37f Move license for GitHub detection 2018-11-13 21:07:05 -05:00
Fabian Zahn
e2e549a22f Added include of 'stddef.h' to 'unity_internals.h' if 'UNITY_EXCLUDE_STDDEF_H' is not defined. This adds compiler independent support for the 'NULL' macro. 2018-10-14 14:11:22 +02:00
Mark VanderVoord
9987824da7 Added support to inject "extern C" into runners when generated. 2018-08-09 08:48:08 -04:00
Deryew
e72dfafd44 Fixed some grammar errors on docs
Fixed grammar errors and some sentences to make it easier to understand
2018-07-30 10:53:02 +08:00
Roland Stahn
ac3cde30f5 Added notes on _MESSAGE assertions (#331)
Added notes, why _MESSAGE assertions do not support printf style formatting and how users can work around this limitation (see #331)
2018-07-21 16:57:53 +02:00
Trond Einar Snekvik
ceecf1fae8 Add support for :mock_suffix
Adds support for :mock_suffix when generating mock setup and teardown
functions. Also documents both prefix and suffix in the helper script
guide.
2018-06-07 10:06:43 +02:00
Fabian Zahn
8efa8ffc62 Removed UNITY_OMIT_OUTPUT_FLUSH_HEADER_DECLARATION to simplify the behaviour 2018-02-18 13:57:34 +01:00
Mark VanderVoord
b4aca70fd9 Update UnityGettingStartedGuide.md
Added more detail on test naming.
2017-12-06 10:08:56 -05:00
Mark VanderVoord
774da10e00 Merge pull request #296 from jlindgren90/master
Allow suiteSetUp() and suiteTearDown() to be provided as normal C functions (Thanks @jlindgren90 )
2017-11-04 09:04:53 -04:00
Victor Lambret
17d4ea92e1 Color test results using ANSI escape codes
Help error detection by adding specific colors for test results. This
behavior is activated only when unity if compiled with UNITY_COLOR flag.
2017-10-24 07:33:30 +02:00
John Lindgren
1381a1a4cb Update documentation. 2017-09-13 18:24:07 -04:00
Mark VanderVoord
60def109a7 Update configuration docs 2017-09-13 09:39:52 -04:00
Dom Postorivo
f2fdf1a133 Added Greater than and Less than asserts from other PR 2017-05-13 15:59:51 -04:00
Mark VanderVoord
2c7629a0ae Documentation Updates 2017-04-07 13:14:32 -04:00
toby
1e4396745c Add EACH_EQUAL changes 2017-03-29 15:09:01 +01:00
toby
e2cc67918d Add newlines after headings for best practice, trim trailing spaces & convert sneaky incorrectly coded chars
blank newline after headins is apparently best practice according to http://stackoverflow.com/q/42953462/1292918
2017-03-29 15:01:23 +01:00
toby
192d5176f1 Remove PDFs 2017-03-29 15:01:23 +01:00
toby
c48f6c9420 Add Github Markdown versions of documents
Add GFM version of getting started guide PDF

Add GFM version of configuration guide PDF

Add GFM version of helper scripts guide PDF

Add GFM version of coding standard PDF

Add GFM version of assertions reference PDF

Change markdown used to italicise line. Switched to use asterisk markdown instead
2017-03-29 14:46:31 +01:00
Mark VanderVoord
083564b837 Update docs to also understand the new Each Equal handlers 2017-03-26 17:54:28 -04:00
Mark VanderVoord
0781e74ac6 Add our coding standard to documentation 2017-03-20 16:29:40 -04:00
Mark VanderVoord
8723d50f0e Turn UNITY_OUTPUT_FLUSH off by default. Added a quick-define for the most common case: UNITY_USE_FLUSH_STDOUT. Clarified documentation. Fixes issue #269 2017-03-14 23:23:19 -04:00
Mark VanderVoord
837c5291fa The class gives back to the community: better documentation produced for the class and now part of the open source project 2016-05-06 11:52:06 -04:00
Mark VanderVoord
33325f4a0b More fixes to line endings 2016-01-07 14:20:59 -05:00
Mark VanderVoord
f52538d401 - fix whitespace
- tweak docs
2016-01-04 19:30:38 -05:00
Mark VanderVoord
c6dc96f387 We're going to use the C99 isinf() and isnan() macros wherever possible now. If your compiler doesn't support this, define UNITY_EXCLUDE_MATH_H and it will go back to the old method 2015-11-13 09:16:42 -05:00
Paul Wilkinson
1c080665aa docs: fix some typos 2015-11-09 19:53:06 +00:00
Eivind Tagseth
61c0b0b75c Added support for TEST_ASSERT_EQUAL_STRING_LEN*
Compares two strings until maximum n bytes (i.e. strncmp()).
2015-04-23 15:39:19 +02:00
Mark VanderVoord
6792a5f4ed Updated License to be standard MIT License 2014-12-09 12:05:53 -05:00
mvandervoord
4ddc77efd6 - docs are now caught up to latest feature set
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@141 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2012-05-27 23:37:56 +00:00
mvandervoord
3a82e1eeab - fixed summarizer to handle more generic input
- ignore comments in test parser
- fixed a couple bugs in 16-bit support
- fixed minor compiler errors for less lenient compilers
- fixed error in docs.
- renamed link to link_it in rakefiles to avoid collision in new versions of rake

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@136 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2011-10-11 02:40:04 +00:00
mvandervoord
4e4d4291d6 - updated documentation
- parameterized tests now output parameters as part of message


git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@110 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-12-28 15:32:20 +00:00
mvandervoord
5a6b8c405b - added a tweaked version of James Grenning's unity_fixture to extras
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@106 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-29 22:53:57 +00:00
mvandervoord
780c17d017 - updated unity test runner generator to support parameterized tests optionally.
- updated docs to better discuss generator options.

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@104 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-26 19:37:22 +00:00
mvandervoord
953b55c7e3 - made RUN_TEST so that it doesn't require a custom runTest by default
- updated generator to lay simple foundation for parameterized test support

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@101 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-11-10 14:53:34 +00:00
mvandervoord
f5ce02f135 - removed pointless cast from UnityPrint
- test executable returns number of failures as exit status
- caught up lame text docs

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@90 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-08-13 00:32:34 +00:00
mvandervoord
4ab76a98ba - updated unity docs to match new version of TEST_FAIL macro
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@88 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-31 16:27:57 +00:00
mvandervoord
a9ccd245b0 - added 64 bit support
- organized targets into a subdirectory
- cleaned up testing so floats and 64-bit ints are only tested if enabled


git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@85 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-28 01:06:21 +00:00
mvandervoord
fe4ce4166c - updating docs to match latest assertions and config options
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@81 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-07-02 19:48:59 +00:00
mvandervoord
3fbc034e7d - restored examples to working condition
- restored makefiles to working condition
- updated files to include copyright notice
- fixed bug in string array comparisons
- ignored tests no longer run teardown
- tests failing for uncaught cexceptions now get exception id reported

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@70 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-04-26 01:10:48 +00:00
mvandervoord
f7a9390ee7 git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@60 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e 2010-03-13 04:49:04 +00:00
mvandervoord
54eba93094 - support arrays of integers
- fixed bug when reporting problems with large integers
- fixed bug in test suite when checking for expected failures.


git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@22 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-04-10 18:21:21 +00:00
greg-williams
6e2de5e52f * Converted Unity to use setjmp/jongjmp for aborting upon test failures
* Eliminated TEST_WRAP and TEST_WRAP_NO_RETURN, since new abort mechanism eliminates the need to use these
- Updated documentation
- Changed default target to GCC in both Unity test and example project

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@7 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-11-13 15:39:50 +00:00
mvandervoord
d1550d8494 Examples projects, more complete documentation, and other beautification. It brings a tear to the eye.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@4 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-10-29 00:00:30 +00:00
greg-williams
720acfbb95 Initial project population
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@1 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-02-07 03:00:54 +00:00