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

74 Commits

Author SHA1 Message Date
Jonathan Reichelt Gjertsen
d06ac64852 Merge remote-tracking branch 'upstream/master' into more-float
# Conflicts:
#	README.md
#	docs/UnityAssertionsReference.md
2021-07-27 01:54:26 +02:00
wolf99
00a1d02835 Break on sentences instead of column 2021-06-02 23:48:23 +01:00
wolf99
8b90b51c68 Reference style URLs 2021-06-02 23:13:14 +01:00
wolf99
d0b5a920bb markdown conformance 2021-06-02 22:49:03 +01:00
Gabor Kiss-Vamosi
fa5644bd07 Fix typo in UnityHelperScriptsGuide.md
An `e` is missing in`suit_setup` in the `my_config.yml`.
2021-06-02 15:38:27 +02:00
Jonathan Reichelt Gjertsen
410de1a02b Add macros for testing inequalities between floats, doubles 2021-05-24 17:02:58 +02:00
Jonathan Reichelt Gjertsen
27ef0eb44e Fix some formatting errors in the assertions reference 2021-05-24 14:52:24 +02:00
Fabian Zahn - 0xFAB
66cec22838 Update UnityConfigurationGuide.md
Add semi-colon to configuration :)
2021-02-26 07:51:57 +01:00
throwaway47912
563b93e5ec Fix typo in doc 2021-02-10 15:20:03 +01:00
Alari Õis
ec31dfacad Fixed typos in documentation 2020-04-25 07:14:21 +03:00
mvandervoord
8c4ae7aacd clarification in docs (#468) 2020-03-18 15:19:35 -04:00
mvandervoord
99199515fd Update documentation.
Add UNITY_PRINT_TEST_CONTEXT (thanks @jlindgren90 !)
Replaces PR #473
2020-03-17 15:01:46 -04:00
mvandervoord
71e77ce6fb Added NOT-EQUAL int variants.
Organized Unit Tests
2020-03-16 18:45:40 -04:00
mvandervoord
bad429428d Add assertion for checking empty null-terminated arrays. This is particularly useful for check c strings. 2020-03-16 15:04:40 -04:00
Jørn Villesen Christensen
22a047ebb5 Updated documentation and examples to reflect the TEST_PRINTF function. 2020-02-14 22:45:58 +01:00
mvandervoord
354e2b4da6 Added set of assertions for checking CHAR's and CHAR arrays (not as strings) 2019-10-28 16:54:32 -04:00
mvandervoord
e1dca8fa48 Add options for different output formats 2019-10-28 12:43:11 -04:00
mvandervoord
be87d790c7 Add verifyTest option to go with resetTest.
Fix docs.
2019-10-28 10:32:22 -04:00
mvandervoord
d16c27b085 - added target for checking ANSI compliance
- fixed ANSI (C89) issues, including #418
2019-10-25 10:17:12 -04:00
Jason Heeris
86b19304ed Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN(). 2019-10-25 14:37:00 +11:00
Mark VanderVoord
9fdcc2d3ff Catch up documentation to match these changes. 2019-10-21 14:29:52 -04:00
Mark VanderVoord
0000f1e6d2 Add TEST_MESSAGE for outputting messages without aborting a test and _MESSAGE variant to TEST_PASS collection. 2019-07-06 11:02:32 -04:00
Mark VanderVoord
bc72eeb211 Merge pull request #425 from farrrb/fix-ti-c55-sizeof
TI C55x compatibility patches - removal of sizeof operator from the interfaces
2019-07-05 15:41:41 -04:00
Mark VanderVoord
f2d826c7c5 - Added options for how to handle TEST_ASSERT_EQUAL shorthand
- Tweak a couple style problems with Ruby scripts.
2019-07-03 15:03:03 -04:00
Fabian Zahn
06ddace18d Update documentation of "UNITY_POINTER_WIDTH" 2019-05-12 19:44:02 +02:00
Mark VanderVoord
e9f9638497 Merge branch 'master' into issue-#346-documentation-improvement 2019-05-04 08:13:14 -04:00
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
Kyle Krueger
ea5e51ffcc move some details from main readme to docs, and link to getting started 2018-09-07 14:46:20 +02:00
Kyle Krueger
020a531e4b add link to test_runner file 2018-09-07 14:33:51 +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