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

1347 Commits

Author SHA1 Message Date
Roland Stahn
3fb2484313 Add IAR specific mapping for UNITY_NORETURN 2025-05-27 14:33:15 +02:00
Mark VanderVoord
9578ffd885 Merge pull request #778 from yahyayozo/master
[Docs] Fix typos in docs files (Thanks for your help, @yahyayozo ! I appreciate it!)
2025-04-25 21:35:04 -04:00
yahyayozo
69478185a3 [Docs] Fix typos in docs files 2025-04-19 18:54:28 +01:00
Mark VanderVoord
23e8edbd64 Merge pull request #714 from jamestiotio/shuffle_tests
Add support for randomizing test execution order
2025-03-31 10:04:14 -04:00
Mark VanderVoord
64e68d9dda Merge pull request #772 from gr33kdude/master
Fix minor typo
2025-03-24 09:14:02 -04:00
Costas Akrivoulis
19da6e196b Fix minor typo 2025-03-23 22:20:34 -07:00
James Raphael Tiovalen
b0bcdb56c1 Add support for randomizing test execution order
This commit reintroduces the option to shuffle the test execution order
into the test runner. This has been tested with the temp_sensor example
project in Ceedling. Unit tests have also been successfully executed.

Signed-off-by: James Raphael Tiovalen <jamestiotio@gmail.com>
2025-03-11 00:10:05 +08:00
Mark VanderVoord
cdf1d0297e Create FUNDING.yml 2025-02-17 09:14:39 -05:00
Mark VanderVoord
ce122c4d8a Merge pull request #762 from koy-rehme-bae/fixtures_command_line_arguments
New command line options for fixtures
2025-01-21 14:43:33 -05:00
Rehme, Koy
df0b5d90b8 Add unit tests for new switches 2025-01-18 17:45:21 -07:00
Koy Rehme
459d53a821 New command line options 2025-01-08 15:38:23 -07:00
Mark VanderVoord
cbcd08fa7d Add release notes and bump version. v2.6.1 2025-01-01 11:53:54 -05:00
Mark VanderVoord
1a29024cc7 It's a New Year 2025-01-01 11:46:30 -05:00
Mark VanderVoord
73237c5d22 Merge pull request #745 from schorg/patch-1
Update unity_config.h
2024-08-24 17:06:36 -04:00
Mark VanderVoord
6531b4eba4 Merge pull request #747 from davidjb/patch-1
Add changelog entry for `NOT` float/double tests
2024-08-22 20:51:26 -04:00
David Beitey
6ebcd6065c Add changelog entry for NOT float/double tests
This is from 244edf6c16, an addition in v2.6.0.
2024-08-23 10:46:32 +10:00
Franz-Josef Grosch
f8be3a5eba Update unity_config.h
Corrected the #define for 64-bit support in example unity_config.h file
2024-08-14 16:40:05 +02:00
Mark VanderVoord
c546414657 - Protect against people not defining UNITY_USE_COMMAND)LINES_ARGS but enabling cmd_lines in test runner generator. (Cherry-pick PR 739)
- Fix UNITY_NORETURN usage (Cherry-pick PR 742)
- Other standards and formatting tweaks.
2024-08-01 16:01:09 -04:00
Mark VanderVoord
18fb33921f add strict match option as '-n' again.
fix style while I'm at it.
2024-06-12 22:59:08 -04:00
Mark VanderVoord
5659085418 Merge pull request #737 from andre-lei/dev/gen-testrunner-use-begin-end-macro
Update generate test runner to leverage custom UNITY_END()
2024-06-10 13:24:37 -04:00
andre-lei
35229fda30 Merge branch 'ThrowTheSwitch:master' into dev/gen-testrunner-use-begin-end-macro 2024-05-03 10:55:46 -07:00
Mark VanderVoord
1d28a99812 Merge pull request #729 from dreamer-coding-555/update_github_action
Updated main.yml
2024-04-30 16:46:17 -04:00
Michael Gene Brockus (Dreamer)
8e4c9b94cb Update main.yml 2024-04-30 14:24:34 -06:00
Mark VanderVoord
25ca536caf Merge pull request #728 from mchernosky/fix-command-line-arg-build
Fix build when UNITY_USE_COMMAND_LINE_ARGS is enabled
2024-04-26 15:01:13 -04:00
mchernosky
5ff17d6542 Label as static internal functions enabled by UNITY_USE_COMMAND_LINE_ARGS to prevent
-Werror=missing-declarations
2024-04-26 12:46:49 -06:00
Mark VanderVoord
530364d8a6 Merge pull request #726 from mrunix00/patch-1
Update the year in README.md
2024-04-26 12:07:34 -04:00
Mr.UNIX
e6f73b6ad0 Update the year in README.md 2024-04-26 16:59:59 +01:00
Mark VanderVoord
e095ac4a29 Merge pull request #723 from sdimovv/patch-2
Remove redundant line casts from `UNITY_TEST_ASSERT_*` macros
2024-04-18 09:31:56 -04:00
sdimovv
9b77170349 Remove redundant line casts from UNITY_TEST_ASSERT_* macros 2024-04-18 14:25:55 +01:00
Mark VanderVoord
c2637c54a0 Merge pull request #721 from sdimovv/patch-1
Cast line_num to allow compilation with `-WConversion`
2024-04-08 17:47:57 -04:00
sdimovv
0ace9d8273 Cast line_num to allow compilation with -WConversion 2024-04-07 02:57:16 +01:00
Mark VanderVoord
3cbe49900a Don't call assertions until after we've concluded test framework tinkering in core test (#718) 2024-03-31 18:12:31 -04:00
andre-lei
c3a3843f4c Merge branch 'ThrowTheSwitch:master' into dev/gen-testrunner-use-begin-end-macro 2024-03-20 16:00:13 -07:00
Mark VanderVoord
c444b63bfd Merge pull request #719 from fellerts/shebang
Fix shebang placement
2024-03-20 09:28:57 -04:00
Fredrik Ellertsen
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
Mark VanderVoord
671f8d25f1 Update all the boilerplates 2024-03-16 23:15:00 -04:00
Mark VanderVoord
85452ad154 📝 Add Code of Conduct and Contributing docs 2024-03-13 15:07:30 -04:00
Mark VanderVoord
860062d51b Fixed issue #715 (typo that disabled two tests) v2.6.0 2024-03-09 19:36:15 -05:00
Mark VanderVoord
e3457a85f4 Fix temperamental test in core test suite. 2024-03-09 19:26:38 -05:00
Mark VanderVoord
b512a1c184 Flesh out documentation for command line options for runner generator. 2024-03-09 18:50:25 -05:00
Mark VanderVoord
2777955d3a Document unity exec time options. 2024-03-09 18:28:42 -05:00
andre-lei
ef7f968331 Merge branch 'ThrowTheSwitch:master' into dev/gen-testrunner-use-begin-end-macro 2024-02-21 10:28:28 -08:00
Mark VanderVoord
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
Mark VanderVoord
b4f65573f7 Bump rubocop version 2024-01-04 16:57:45 -05:00
Mark VanderVoord
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
Dennis Skinner
3adb5dd7b9 Add FALLTHRU 2023-12-04 14:04:13 -05:00
Dennis Skinner
4a606dc2cd Add missing generate_test_runner.rb options to docs 2023-12-03 23:02:23 -05:00
Dennis Skinner
049ddda615 Fix tests for new help verbiage 2023-12-03 23:02:09 -05:00
Dennis Skinner
fcb4e53c36 Update help menu to use mnemonics 2023-12-03 22:07:15 -05:00
Dennis Skinner
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