Commit Graph

  • a78e6c8566
    Merge pull request #494 from jlindgren90/master Mark VanderVoord 2020-04-09 16:10:46 -04:00
  • 2485d49d13 Wrap UNITY_TEST_ASSERT in a do ... while(0) block John Lindgren 2020-04-09 13:03:16 -04:00
  • d603ccdc3b cmake: update CMake Vitalii Shylienkov 2020-04-09 13:58:45 +02:00
  • 10fd84f02b
    Merge pull request #492 from farshield/fix_small_typo Mark VanderVoord 2020-03-28 13:34:31 -04:00
  • ff479e9aa0 Fix small typo Gavriil Pascalau 2020-03-28 18:31:43 +01:00
  • 87d8de6d55 Disable osx tests because (1) they are slow and (2) the toolchain is old and crusty mvandervoord 2020-03-19 10:02:38 -04:00
  • 615cf2349e Update self-test parameters mvandervoord 2020-03-19 09:48:40 -04:00
  • 8c4ae7aacd clarification in docs (#468) mvandervoord 2020-03-18 15:19:35 -04:00
  • 2c3e75e859 Fixed issue #486 mvandervoord 2020-03-17 20:38:11 -04:00
  • 371e062555 Fixed issue #480 - better protection against bad pattern matching. mvandervoord 2020-03-17 16:24:25 -04:00
  • f61a7ea8e4 Fix Issue #479 (Thanks @cy18) mvandervoord 2020-03-17 16:12:08 -04:00
  • a67cb27dd4
    Merge pull request #472 from jlindgren90/master Mark VanderVoord 2020-03-17 15:35:47 -04:00
  • 99199515fd Update documentation. Add UNITY_PRINT_TEST_CONTEXT (thanks @jlindgren90 !) Replaces PR #473 mvandervoord 2020-03-17 15:01:46 -04:00
  • 3e4dfec147 Add support for alternate forms of header and source files to test runner generator. This borrows heavily from #477 (Thanks @Tuc-an) but maintains the ability to sort files that don't need to be relinked. mvandervoord 2020-03-17 14:02:54 -04:00
  • 75754de04e more of the same. mvandervoord 2020-03-16 20:38:54 -04:00
  • 6e3ecbf92b Declare the test variable static mvandervoord 2020-03-16 20:26:10 -04:00
  • d7a05a56df Working with very picky compilers. :) mvandervoord 2020-03-16 20:14:02 -04:00
  • 6a86a83207
    Merge pull request #487 from michaelbadcrumble/master Mark VanderVoord 2020-03-16 19:55:55 -04:00
  • 3ee46e3da3 Forgot EOL mvandervoord 2020-03-16 19:51:05 -04:00
  • a58054b013 Update makefile to run tests. tweak broken tests. mvandervoord 2020-03-16 19:33:51 -04:00
  • 71e77ce6fb Added NOT-EQUAL int variants. Organized Unit Tests mvandervoord 2020-03-16 18:45:40 -04:00
  • bad429428d Add assertion for checking empty null-terminated arrays. This is particularly useful for check c strings. mvandervoord 2020-03-16 15:04:40 -04:00
  • 5e9acef74f
    Merge pull request #488 from jvcdk/feature/test_printf Mark VanderVoord 2020-02-18 10:02:41 -05:00
  • 22a047ebb5 Updated documentation and examples to reflect the TEST_PRINTF function. Jørn Villesen Christensen 2020-02-14 12:35:41 +01:00
  • 3da0b4652c Implement macro TEST_PRINTF: Works like TEST_MESSAGE, but with a format-string. Jørn Villesen Christensen 2020-02-14 12:31:53 +01:00
  • 3b80ba73fe add clang to CI file Michael 2020-02-08 10:39:34 -08:00
  • 8a3a31f7b3 clean up meson support Michael 2020-02-08 10:30:43 -08:00
  • c101cfa7d2
    Merge pull request #485 from korigod/test-range Mark VanderVoord 2020-02-02 15:12:03 -05:00
  • 218fa2cbe8
    Add TEST_RANGE to specify arg ranges in parameterized tests Andrei Korigodskii 2020-02-02 22:00:27 +03:00
  • d0714178a8
    Merge pull request #484 from mr-bat/patch-1 Mark VanderVoord 2020-01-27 13:05:29 +02:00
  • 04858be38f
    update copyright message mr-bat 2020-01-26 11:22:07 -08:00
  • 622918a7df
    Merge pull request #476 from art-of-dom/module-char-scrub Mark VanderVoord 2019-12-26 07:14:53 -05:00
  • 3b5b491860 sub in '_' for '-' in define and test name in module generator Dom Postorivo 2019-12-11 21:30:18 -05:00
  • e449210977
    Merge pull request #475 from ThrowTheSwitch/refactor/self-test-cleanup Mark VanderVoord 2019-12-15 14:49:27 -05:00
  • f3b87bb91c another tweak to how we handle the ci vs local testing. mvandervoord 2019-12-15 14:36:59 -05:00
  • e276e1a458 Swap order so that CI runs all the makefile tests... but local test:all skips them as mostly redundant and very platform specific. mvandervoord 2019-12-15 10:30:26 -05:00
  • d271759bcd Merge branch 'master' into refactor/self-test-cleanup mvandervoord 2019-12-15 10:10:44 -05:00
  • 47b630391d Minor tweak to the way we load includes mvandervoord 2019-12-15 10:07:05 -05:00
  • fb45e3010b the makefiles in the extras are in the test dirs. mvandervoord 2019-12-14 22:38:52 -05:00
  • 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. mvandervoord 2019-12-14 22:24:30 -05:00
  • 461c6b3978 Clean up ci tasks. Get the files to use the build directory again. mvandervoord 2019-12-14 05:18:46 -05:00
  • 3f71d10b2e Refactor all yaml files for self-tests to fit Ceedling format for wider reuse. Fix mistake in unity selftest without output spy running. Namespace self-tests for consistency across ThrowTheSwitch projects (like being able to test:all) Reduce clutter of NAMED self-tests in task list. mvandervoord 2019-12-13 20:38:42 -05:00
  • f39c856a37 auto: Only create run_test() function if it's needed. John Lindgren 2019-12-10 13:24:14 -05:00
  • 5e3fb620fb
    Merge pull request #470 from LinoMastro/help_msg Mark VanderVoord 2019-12-11 14:54:04 -05:00
  • 1d1de74153
    Merge pull request #469 from LinoMastro/bug_fixes Mark VanderVoord 2019-12-09 06:39:13 -05:00
  • 5c5773720f Implement an -h/--help flag for Unity Fixtures and add documentation Lino Mastrodomenico 2019-12-09 00:25:28 +00:00
  • e59185cd8d Fix another access outside array bounds. Lino Mastrodomenico 2019-12-08 22:34:47 +00:00
  • 86caf7ec97 Fix access outside array bounds. Lino Mastrodomenico 2019-12-08 22:32:18 +00:00
  • e3132cdddd Change the way we ignore the default runner. mvandervoord 2019-12-05 13:51:55 -05:00
  • c5c36ab29f Do NOT include the default test runner if a custom runner has been defined. Cleanup some style issues. mvandervoord 2019-12-05 13:19:43 -05:00
  • 2f79302d5c
    Merge pull request #465 from michaelbadcrumble/meson_support Mark VanderVoord 2019-12-04 06:02:32 -05:00
  • de1cb75e4c Keep Meson support back to version 0.50.0 Michael Brockus 2019-12-03 22:49:22 -08:00
  • 3fb17f33e2 Update root meson.build Michael Brockus 2019-12-03 22:45:37 -08:00
  • e2682ae43a update (commented out) example of using WEAK (which is not supported any longer) mvandervoord 2019-11-12 18:26:15 -05:00
  • c3d7662a1e fixture example doesn't use memory extra v2.5.0 mvandervoord 2019-10-30 10:05:49 -04:00
  • ded22fef63 Make memory handling optional in fixtures mvandervoord 2019-10-30 09:50:22 -04:00
  • 37a0f7184c
    Merge pull request #459 from elliot-gawthrop/combined_suite Mark VanderVoord 2019-10-30 09:33:18 -04:00
  • 2aaf3c4504
    Merge pull request #461 from jlindgren90/duplicate-branch Mark VanderVoord 2019-10-30 09:31:14 -04:00
  • d34f72282f
    Merge pull request #463 from ThrowTheSwitch/refactor/split_mem_from_fixture Mark VanderVoord 2019-10-30 09:26:40 -04:00
  • 179b492e18 Sigh. had to NOT disable these warnings by default because the gcc on our test rig doesn't understand it mvandervoord 2019-10-30 09:00:53 -04:00
  • 5dd5931114 Try to keep compiler from complaining about this cast that we KNOW is okay. mvandervoord 2019-10-30 08:53:08 -04:00
  • 94dc637d03 While we're fixing warnings / errors, disable this (otherwise helpful) error because we are purposefully making this example file fail for this. mvandervoord 2019-10-30 08:48:08 -04:00
  • e40b0bf2b5 Let's just go with it. Why fight the warnings when they could catch other issues? mvandervoord 2019-10-30 08:42:46 -04:00
  • efd02920ca Fix path problem in Travis CI mvandervoord 2019-10-30 08:06:52 -04:00
  • fbded74349 Split memory from fixtures and make it's own addon mvandervoord 2019-10-30 07:52:07 -04:00
  • 3fb86421b2
    Merge pull request #460 from jlindgren90/array-64 Mark VanderVoord 2019-10-29 17:21:35 -04:00
  • 8072c5c946 Remove exactly duplicated 'else if' branch. John Lindgren 2019-10-29 17:10:45 -04:00
  • 32e6d93ab0 Fix TEST_ASSERT_HEX64_ARRAY_WITHIN truncating delta to 32 bits. John Lindgren 2019-10-29 16:59:59 -04:00
  • a303e08859 Option to omit UnityBegin/UnityEnd calls in generate_test_runner anon 2019-10-29 19:38:43 +00:00
  • 34ebd82d8c
    Merge pull request #458 from jlindgren90/verify-test Mark VanderVoord 2019-10-29 13:31:47 -04:00
  • 9c82fac380 Update incorrect comment. John Lindgren 2019-10-29 13:21:59 -04:00
  • cf5b2d2568 Make verifyTest() leave Ignores and Callbacks intact. John Lindgren 2019-10-29 13:21:34 -04:00
  • 74d47e8afa Add missed casting mvandervoord 2019-10-29 06:34:09 -04:00
  • 354e2b4da6 Added set of assertions for checking CHAR's and CHAR arrays (not as strings) mvandervoord 2019-10-28 16:54:32 -04:00
  • 60b23dc8a4 Stopped supported -0 as a float output because (a) it is non-portable, only existing on some architectures and (b) relies on the undefined behavior of 1.0/0.0 mvandervoord 2019-10-28 13:43:32 -04:00
  • e1dca8fa48 Add options for different output formats mvandervoord 2019-10-28 12:43:11 -04:00
  • 3f334b8be6
    Merge pull request #450 from arcadien/fix_comments Mark VanderVoord 2019-10-28 10:45:23 -04:00
  • be87d790c7 Add verifyTest option to go with resetTest. Fix docs. mvandervoord 2019-10-28 10:32:22 -04:00
  • b75b19c969 CMakeLists fixes Aurelien Labrosse 2019-10-08 19:40:04 +00:00
  • 15631f1c78 More tweaking to make it happy on both windows and *nix mvandervoord 2019-10-25 11:53:59 -04:00
  • 8d044e60c6 update fixture tests too mvandervoord 2019-10-25 11:41:27 -04:00
  • 368a7d8970 Fixed a couple of mistakes in last commit mvandervoord 2019-10-25 11:20:25 -04:00
  • d16c27b085 - added target for checking ANSI compliance - fixed ANSI (C89) issues, including #418 mvandervoord 2019-10-25 10:17:12 -04:00
  • 748efa26b5
    Merge pull request #456 from detly/int_array_doc_fix Mark VanderVoord 2019-10-25 06:03:22 -04:00
  • 86b19304ed Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN(). Jason Heeris 2019-10-25 14:37:00 +11:00
  • eb0bd42f0d Updated to newer coding standard mvandervoord 2019-10-24 15:33:41 -04:00
  • addd60edab
    Merge pull request #454 from jlindgren90/common-run-test Mark VanderVoord 2019-10-24 14:42:23 -04:00
  • 277e844bed Convert RUN_TEST() to a function (generated from an ERB template). John Lindgren 2019-10-22 15:18:20 -04:00
  • d10cf6645d Remove unnecessary #includes. John Lindgren 2019-10-22 15:05:34 -04:00
  • 68cc45a918 Make sure setUp/tearDown are always defined. John Lindgren 2019-10-22 15:04:03 -04:00
  • 5fc72fbca1 fix name of teardown function Mark VanderVoord 2019-10-22 06:52:25 -04:00
  • ff697ad29c suite setup and teardown no longer static (simplifies test-supplied instance) Mark VanderVoord 2019-10-22 06:45:47 -04:00
  • ac427b28fc Fixed backwards case. Mark VanderVoord 2019-10-22 06:37:28 -04:00
  • 2d8a69e0d1 update handling of when suite_setup/teardown in use Mark VanderVoord 2019-10-22 06:27:26 -04:00
  • cb8744c496 More argument fixing (I hate flying blind... can't wait to get back on my laptop) Mark VanderVoord 2019-10-21 14:59:31 -04:00
  • c19e3f99ce missed function call arguments Mark VanderVoord 2019-10-21 14:45:56 -04:00
  • 9fdcc2d3ff Catch up documentation to match these changes. Mark VanderVoord 2019-10-21 14:29:52 -04:00
  • d9b0edf282 Switch from the inconsistent use of weak symbols to handling setup, etc in script generators Mark VanderVoord 2019-10-21 14:21:52 -04:00
  • 0793de9ef1 Do not fail makefile just because example fails. Mark VanderVoord 2019-10-21 11:27:28 -04:00
  • 9842a4d03d Switching to universal version being in the header file itself. Mark VanderVoord 2019-10-21 10:12:59 -04:00