c3a3843f4c
Merge branch 'ThrowTheSwitch:master' into dev/gen-testrunner-use-begin-end-macro
2024-03-20 16:00:13 -07:00
c444b63bfd
Merge pull request #719 from fellerts/shebang
...
Fix shebang placement
2024-03-20 09:28:57 -04:00
f1d953a651
Fix shebang placement
...
671f8d2 introduced a license header to auto/extract_version.py before the
shebang, causing builds to fail like this:
../subprojects/unity/meson.build:7:0: ERROR: Failed running '/path/to/extract_version.py', binary or interpreter not executable.
2024-03-20 12:47:02 +01:00
671f8d25f1
Update all the boilerplates
2024-03-16 23:15:00 -04:00
85452ad154
📝 Add Code of Conduct and Contributing docs
2024-03-13 15:07:30 -04:00
860062d51b
Fixed issue #715 (typo that disabled two tests)
v2.6.0
2024-03-09 19:36:15 -05:00
e3457a85f4
Fix temperamental test in core test suite.
2024-03-09 19:26:38 -05:00
b512a1c184
Flesh out documentation for command line options for runner generator.
2024-03-09 18:50:25 -05:00
2777955d3a
Document unity exec time options.
2024-03-09 18:28:42 -05:00
ef7f968331
Merge branch 'ThrowTheSwitch:master' into dev/gen-testrunner-use-begin-end-macro
2024-02-21 10:28:28 -08: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
3911b01d81
Update generate test runner to leverage custom UNITY_END()
2023-11-16 19:40:45 +00: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