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
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
cbcd08fa7d
Add release notes and bump version.
2025-01-01 11:53:54 -05: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
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
85452ad154
📝 Add Code of Conduct and Contributing docs
2024-03-13 15:07:30 -04: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
Dennis Skinner
4a606dc2cd
Add missing generate_test_runner.rb
options to docs
2023-12-03 23:02:23 -05:00
Mark VanderVoord
a1b1600e43
Update change log and known issues.
...
Fix bug with infinity and NaN handling.
2023-11-13 17:03:07 -05:00
Filip Jagodzinski
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
Jon Hanghøj Henneberg
5dd2be96fa
Add TEST_MATRIX to docs
2023-07-14 17:04:54 +02:00
Alex Overchenko
30b1a05c33
Fix TEST_CASE description typo
2023-07-08 23:15:15 +03:00
Mike Karlesky
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
Mark VanderVoord
ae4ab78c47
Merge pull request #551 from pmembrey/add-meson-generator-for-test-runner
...
Enhance meson support so that it can automatically generate a test runner
2023-02-06 14:56:17 -05:00
Mark VanderVoord
5a36b197fb
Merge pull request #644 from AJIOB/implement_array_within_check
...
Adding within API support for float & double arrays
2022-12-29 19:43:58 -05:00
Crt Mori
7298f3771c
Change link to wikipedia Assert header file
...
Closes #647
2022-12-12 14:49:53 +01:00
Mark VanderVoord
d0e3d73b7d
Merge pull request #640 from AJIOB/docs_param_tests
...
Create documentation for parameterized tests
2022-12-06 08:25:13 -05:00
Mark VanderVoord
87dd938d8a
Merge pull request #639 from AJIOB/auto_define_test_case_marco
...
Provide the way for automatically define TEST_CASE & TEST_RANGE macros (Thanks, Alex. Looks great!)
2022-12-06 08:24:19 -05:00
AJIOB
a35af14a27
Actualizing docs
2022-11-29 09:26:29 +03:00
Alex Overchenko
e15b9f7a28
Fixing typo in assertion reference
2022-11-28 13:22:40 +03:00
Alex Overchenko
ad86e15ca5
Adding docs to TEST_RANGE formats.
...
Adding parameterizedDemo tests as an independent file
2022-11-27 16:09:22 +03:00
Alex Overchenko
e4085eb8e6
Using default macro for TEST_CASEs define.
...
Improving docs about manual definition.
2022-11-27 14:36:22 +03:00
Alex Overchenko
cef22753c4
Adding param tests documentation.
...
Describe TEST_CASE logic.
2022-11-27 14:20:03 +03:00
Alex Overchenko
4d5ed3d68b
Adding possibility for automatically defining
...
TEST_CASE & TEST_RANGE macros
2022-11-27 13:05:13 +03:00
Mark VanderVoord
f94763d2bc
Merge pull request #587 from mbonesi/patch-1
...
fixed hyperlink text to obtain Ruby
2022-11-12 20:43:19 -05:00
jonath.re@gmail.com
612aec09e8
Support long and long long types in TEST_PRINTF
...
This change helps Unity parse and print correctly in cases where a long
or long long type is passed to TEST_PRINTF.
Example situations:
```C
// With %u:
TEST_PRINTF("%u %d\n", ((1ULL << 63) - 1), 5); // --> prints 11982546 -1 (both arguments incorrect because only 4 of the 8 bytes were read out of the va_list)
// With %llu, UNITY_SUPPORT_64=0
TEST_PRINTF("%llu %d\n", ((1ULL << 63) - 1), 5); // --> prints 4294967295 5 (first argument wrapped, second argument intact)
// With %llu, UNITY_SUPPORT_64=1
TEST_PRINTF("%llu %d\n", ((1ULL << 63) - 1), 5); // --> prints 9223372036854775807 5 (both arguments correct)
```
2022-07-27 02:39:14 +02:00
Mark VanderVoord
e54c9787b7
Merge pull request #560 from jonathangjertsen/more-float
...
Add macros for testing inequalities between floats, doubles
2022-05-25 11:04:56 -04:00
Mark VanderVoord
4389bab82e
Support option to specify array length of zero to force pointer comparison.
2022-04-19 17:27:31 -04:00
Alex Overchenko
db3398a5dd
Unity color resetting was fixed for Gitlab CI.
...
Based on escape codes: https://en.wikipedia.org/wiki/ANSI_escape_code#3-bit_and_4-bit
2022-02-16 14:56:00 +03:00
Maurizio Bonesi
c0e9a4c185
fixed hyperlink text to obtain Ruby
...
the text was correct but the hyperlink had a problem.
2021-12-10 10:16:45 +01:00
Jonathan Reichelt Gjertsen
b732fbf1ca
Add LESS_OR_EQUAL and GREATER_OR_EQUAL assertions for doubles and floats
2021-12-03 20:39:55 +01:00
Jonathan Reichelt Gjertsen
244edf6c16
Add NOT_EQUAL* and NOT_WITHIN* checks for floats and doubles
2021-12-03 19:53:31 +01:00
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
Peter Membrey
63ea077a29
Add some docs for the Meson generator
2021-04-04 22:14:28 +08: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