Mark VanderVoord
d1fe18bd54
Updates for the new year.
2026-01-23 11:18:36 -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
1a29024cc7
It's a New Year
2025-01-01 11:46:30 -05:00
Mark VanderVoord
671f8d25f1
Update all the boilerplates
2024-03-16 23:15:00 -04:00
Michael Gene Brockus (Dreamer)
4403d97d14
Create meson.build
2023-09-15 10:22:26 -06:00
Michael Gene Brockus (Dreamer)
24c175f64f
Create readme.md
2023-09-15 10:20:26 -06:00
Michael Gene Brockus (Dreamer)
a4d0150758
Rename bdd.h to unity_bdd.h
2023-09-15 10:13:06 -06:00
Michael Gene Brockus (Dreamer)
de387ef073
Create test_bdd.c
2023-09-15 10:12:34 -06:00
Michael Gene Brockus (Dreamer)
cf13244043
adding stdio
2023-09-15 09:54:32 -06:00
Michael Gene Brockus (Dreamer)
955809048c
Create bdd.h
2023-09-15 09:53:34 -06:00
Nir Soffer
18482abd9e
Don't install anything when building as subproject
...
When a project is consuming unity as as subproject, unity headers,
static library and pkg config files are installed by `meson install`.
This can be fixed by using `meson install --skip-subprojects`, but this
must be repeated in all the distros packaging a project.
Fixed by disabling install when building as a subproject.
Fixes : #661
2023-02-21 02:28:04 +02:00
Andrew McNulty
44bc9e6dbe
Update Meson build system
...
The following features from the CMake build have been implemented:
* Library version retrieved from unity.h.
* Extension support.
* Library, header, and package configuration file installation.
This commit is entirely based on existing work by Owen Torres.
2023-02-13 17:22:52 +01:00
Can Caglar
02e0bd5382
fix wrong filename mentioned in readme for fixtures
2022-06-05 14:01:48 +01:00
Ivan Grokhotkov
13e40e84ee
extras/fixture: add missing C++ include guards
...
This fixes linking errors when test cases based on Unity fixture are
defined in a .cpp file.
unity_internals.h doesn't have C++ guards, and is included from
unity.h from within C++ header guard block. Same approach is taken in
this commit
2021-12-03 11:47:59 +01:00
wolf99
00a1d02835
Break on sentences instead of column
2021-06-02 23:48:23 +01:00
wolf99
d0b5a920bb
markdown conformance
2021-06-02 22:49:03 +01:00
mvandervoord
d271759bcd
Merge branch 'master' into refactor/self-test-cleanup
2019-12-15 10:10:44 -05:00
mvandervoord
ef0cf704d9
Centralize all testing to the test folder instead of each subproject.
...
Trigger ALL tests when calling `rake test:all` instead of that being just the core tests.
2019-12-14 22:24:30 -05:00
Lino Mastrodomenico
5c5773720f
Implement an -h/--help flag for Unity Fixtures and add documentation
2019-12-09 00:25:28 +00:00
mvandervoord
c5c36ab29f
Do NOT include the default test runner if a custom runner has been defined.
...
Cleanup some style issues.
2019-12-05 13:19:43 -05:00
mvandervoord
ded22fef63
Make memory handling optional in fixtures
2019-10-30 09:50:22 -04:00
mvandervoord
5dd5931114
Try to keep compiler from complaining about this cast that we KNOW is okay.
2019-10-30 08:53:08 -04:00
mvandervoord
e40b0bf2b5
Let's just go with it. Why fight the warnings when they could catch other issues?
2019-10-30 08:42:46 -04:00
mvandervoord
fbded74349
Split memory from fixtures and make it's own addon
2019-10-30 07:52:07 -04:00
mvandervoord
be87d790c7
Add verifyTest option to go with resetTest.
...
Fix docs.
2019-10-28 10:32:22 -04:00
mvandervoord
15631f1c78
More tweaking to make it happy on both windows and *nix
2019-10-25 11:53:59 -04:00
mvandervoord
8d044e60c6
update fixture tests too
2019-10-25 11:41:27 -04:00
mvandervoord
d16c27b085
- added target for checking ANSI compliance
...
- fixed ANSI (C89) issues, including #418
2019-10-25 10:17:12 -04:00
mvandervoord
eb0bd42f0d
Updated to newer coding standard
2019-10-24 15:33:41 -04:00
Alessio Centazzo
7df6cca794
Fix compiler warning
...
Fix compiler complaint about declaration after statement
2019-09-29 22:01:03 -07:00
Alessio Centazzo
75e88a9bc4
Fix MallocThenReallocGrowsMemoryInPlace
...
The realloc was not taking in account extra bytes needed for the the pointer proper alignment
2019-09-29 21:45:51 -07:00
Alessio Centazzo
fc14856321
Fix malloc alignment
...
Make sure the malloc alignment is always aligned to the architecture's pointer size
2019-09-29 15:08:48 -07:00
Mark VanderVoord
a54d58a8fd
It doesn't seem like there is a time where setUp and tearDown aren't required in Fixture.
2019-07-05 19:29:21 -04:00
Dom Postorivo
01a907393a
silent mode in unity fixture
2019-05-04 11:52:36 -04:00
Dom Postorivo
0bd6bf7b2b
Use Pass string from unity.c in unity_fixture.c to garuntee colour behavior
2019-04-13 14:29:06 -04:00
John Lindgren
5cd1c33b0e
Fix uninitialized constant
2018-11-28 13:36:27 -05:00
John Lindgren
6b657c6f17
Fix (most) Rubocop warnings.
2018-11-28 13:27:00 -05:00
elliot
f0e4571c96
Merge branch 'master' into unit-test-execution-time
2018-07-28 20:01:50 +01:00
Jeremy Hannon
91a2353526
MISRA 16.4: param names match func decl & defn
...
parameter names should match between declaration and definition.
(MISRA 2004 rule 16.4)
2018-02-10 13:15:34 -06:00
balaksh
cc909efed3
Implement optional printing of execution time for each test
2017-09-10 13:00:09 +12:00
Mark VanderVoord
05daf95d4e
Update to match Ruby style guide
2017-09-08 15:37:31 -04:00
Aviv Palivoda
e56378e437
Add UNITY_OUTPUT_CHAR_HEADER_DECLARATION to fixture tests rakefile_helper.rb
2017-08-04 14:43:14 +03:00
Aviv Palivoda
b3de931d69
Add UNITY_OUTPUT_CHAR_HEADER_DECLARATION to fixture tests Makefile defines
2017-08-01 23:36:13 +03:00
Mark VanderVoord
c1bc32dc58
- Generator will not change names by default
...
- Fixed some style issues.
2017-06-25 13:58:31 -04:00
Mark VanderVoord
2a5b24f7bf
Finished updating all Ruby scripts to match our coding standard. Woo!
2017-03-28 20:02:53 -04:00
Mark VanderVoord
23f9c16aaa
Another round of fixing things that the stylizer “corrected” for me.
2017-03-28 08:59:58 -04:00
Mark VanderVoord
3062c39725
Starting to enforce our coding style. The first step is that we’ve pulled in Rubocop to check out Ruby syntax. There is likely a bit of customization to do yet AND there is definitely that backlog of todo’s that we just told it to ignore.
2017-03-28 08:44:32 -04:00
Mark VanderVoord
43c751173d
stdlib.h explicitly called in fixtures when malloc used, now. (Fixes issue #268 )
2017-03-20 14:09:26 -04:00
Mark VanderVoord
a15f0da0d0
Merge pull request #253 from jsalling/feature/cpputest-macros
...
Option to exclude CppUTest compatibility asserts (Thanks!)
2017-01-19 06:57:28 -05:00