1305 Commits

Author SHA1 Message Date
2777955d3a Document unity exec time options. 2024-03-09 18:28:42 -05:00
64939db64e generate test runner: clean injected defines so the ifndef doesn't use the assignment when it exists. 2024-01-19 11:44:48 -05:00
b4f65573f7 Bump rubocop version 2024-01-04 16:57:45 -05:00
da5a45ba1c Merge pull request #706 from Skinner927/add-help-to-test-binaries
Add help option to test command line args
2023-12-04 14:10:11 -05:00
3adb5dd7b9 Add FALLTHRU 2023-12-04 14:04:13 -05:00
4a606dc2cd Add missing generate_test_runner.rb options to docs 2023-12-03 23:02:23 -05:00
049ddda615 Fix tests for new help verbiage 2023-12-03 23:02:09 -05:00
fcb4e53c36 Update help menu to use mnemonics 2023-12-03 22:07:15 -05:00
985f6e0194 Add help option to test command line args
When test binaries are run with unknown options or with the standard
-h option, a help menu will print all available options.

This is much more convenient than having to dig through unity.c to
find every option.
2023-12-02 03:05:33 -05:00
bf560290f6 Merge pull request #656 from ThrowTheSwitch/platform_matrix
unity 2.6 release candidate
v2.6.0_RC1
2023-11-13 17:06:15 -05:00
a1b1600e43 Update change log and known issues.
Fix bug with infinity and NaN handling.
2023-11-13 17:03:07 -05:00
3f7564ea3b Catch up on Ruby style and formatting changes. 2023-11-12 19:07:32 -05:00
bd32847abf Merge branch 'master' into platform_matrix 2023-11-08 00:16:40 -05:00
88069f045c Fix docs issues.
Update scripts to match latest rubocop.
Fix hex length of unity printf feature.
2023-11-07 23:48:48 -05:00
8b0daf153f Merge pull request #675 from nfarid/include-dir
Allowing #including <unity/unity.h>
2023-11-07 22:53:12 -05:00
b175905940 Merge pull request #701 from stevebroshar/replace-pointer-comparison-with-null-checking
Use null check instead of pointer comparison
2023-10-09 16:15:15 -04:00
7d0bcc892e use null check instead of pointer compar 2023-10-08 15:47:22 -05:00
dcef17bf43 Merge pull request #698 from dreamer-coding-555/add_bdd_feature
Adding bdd feature to Unity test framework
2023-09-19 09:08:12 -04:00
d3804d0661 Merge pull request #695 from fkjagodzinski/dev/add-user-defined-protect-and-abort
Allow user-defined TEST_PROTECT & TEST_ABORT macros
2023-09-19 07:37:15 -04:00
4403d97d14 Create meson.build 2023-09-15 10:22:26 -06:00
24c175f64f Create readme.md 2023-09-15 10:20:26 -06:00
a4d0150758 Rename bdd.h to unity_bdd.h 2023-09-15 10:13:06 -06:00
de387ef073 Create test_bdd.c 2023-09-15 10:12:34 -06:00
cf13244043 adding stdio 2023-09-15 09:54:32 -06:00
955809048c Create bdd.h 2023-09-15 09:53:34 -06:00
2775e1b058 Merge pull request #694 from cmachida/master
fix: TEST_PRINTF(): printing 64-bit hex numbers or pointers
2023-09-15 10:39:16 -04:00
710bb58c6a Allow user-defined TEST_PROTECT & TEST_ABORT macros
However rare, this update covers real-world use cases where:
- Unity is used to provide the assertion macros only, and an external
  test harness/runner is used for test orchestration/reporting.
- Calling longjmp on a given platform is possible, but has a
  platform-specific (or implementation-specific) set of prerequisites,
e.g. privileged access level.

Enable project-specific customisation of TEST_PROTECT and TEST_ABORT
macros.
- Use the user-defined UNITY_TEST_ABORT if available; fall back to
  default behaviour otherwise.
- Use the user-defined UNITY_TEST_PROTECT if available; fall back to
  default behaviour otherwise.
- These may be defined independently.
2023-09-04 13:36:00 +02:00
f3b2de4da2 fix: TEST_PRINTF(): printing 64-bit hex numbers or pointers 2023-08-25 17:19:21 +00:00
cb03c3afa7 Merge pull request #680 from JamesB192/23g06-unhandled-enumeration
Squash warnings about unhandled enumeration.
2023-08-16 11:04:42 -04:00
09075ea0f3 Merge pull request #692 from epsilonrt/master
fix: fixes TEST_PRINTF() expansion error #691
2023-08-16 11:02:49 -04:00
f9c4038341 Merge pull request #690 from ThrowTheSwitch/feature/updated-build-directives
Add/update build directives
2023-08-16 10:15:59 -04:00
5109be3881 Missed renames of TEST_FILE() directive 2023-08-15 21:16:02 -04:00
20bb4355d7 Merge pull request #685 from jonhenneberg/test_matix_feature
Thanks to @jonhenneberg (especially) and @AJIOB for your work on the TEST_MATRIX feature!
2023-08-13 09:24:03 -04:00
7a9e25b445 fix: fixes TEST_PRINTF() expansion error #691
fixes TEST_PRINTF() expansion error when no variadic arguments are passed
2023-08-08 22:15:56 +02:00
aa3ca2d572 Add/update build directives
* Renamed macro `TEST_FILE()` to `TEST_SOURCE_FILE()`
* Added macro `TEST_INCLUDE_PATH()`
* Added full comment block for documentation
2023-07-29 20:20:33 -04:00
5baa4580ee Fix file endings 2023-07-15 22:19:46 +02:00
c97a2705b3 Add tests for TEST_MATRIX 2023-07-14 17:04:54 +02:00
5dd2be96fa Add TEST_MATRIX to docs 2023-07-14 17:04:54 +02:00
d593817630 Add TEST_MATIX option for parameterization
Added matrix option for parameterization that generates cases based on
the product of the given arguments.
2023-07-13 22:39:58 +02:00
1b9199ee38 Merge pull request #684 from detly/expose_assert_options
Expose double support as an option.
2023-07-13 07:36:18 -04:00
8a5918b81d Expose double support as an option. 2023-07-13 15:27:48 +08:00
924d656188 Merge pull request #681 from AJIOB/docs-typo-fix
Fix TEST_CASE description typo
2023-07-10 23:28:47 -04:00
30b1a05c33 Fix TEST_CASE description typo 2023-07-08 23:15:15 +03:00
e271a76a11 Squash warnings about unhandled enumeration. 2023-07-06 02:23:04 -07:00
8a6623990a Merge pull request #677 from ThrowTheSwitch/docs/unity_assertion_reference_fixes
Assertion reference documentation improvements
2023-06-12 14:51:33 -04:00
4d64a17027 Documentation improvements
* Fixed a broken markdown bulleted list
* Replaced a missing document link (from the original source of this documentation) with a full sentence explaining the relation of `assert()` to static analysis.
* Typographic fixes
  * Replaced single and double straight quotes with smart quotes where appropriate
  * Replaced three periods with ellipses where appropriate
2023-06-12 09:58:19 -04:00
bbb8b3f562 Merge pull request #676 from 0xhiro/patch-1
Update README.md
2023-06-04 13:47:38 -04:00
9e6e6fcb44 Update README.md 2023-06-04 12:24:18 +09:00
b35f6b0851 Add CMAKE_INSTALL_INCLUDEDIR to INSTALL_INTERFACE's include directory
This allows one to #include <unity/unity.h>
2023-05-30 11:40:39 +01:00
f23d8b25cd Merge pull request #669 from jonhenneberg/master
Fix filename sanitization with command line option
2023-04-17 13:06:44 -04:00