Commit Graph

  • 4d3d062b56 Adding command line support. Started with -n (test name matching) -x (test name exclusion). Script verification hasn't been added yet. Mark VanderVoord 2016-06-21 16:07:10 -04:00
  • 6a43b19485 Adding command line support. Started with -n (test name matching) -x (test name exclusion). Script verification hasn't been added yet. Mark VanderVoord 2016-06-21 16:07:10 -04:00
  • b3bc196ab3 making new flush routines work under all defined conditions. Mark VanderVoord 2016-06-21 10:01:34 -04:00
  • 8f4ec35e86 making new flush routines work under all defined conditions. Mark VanderVoord 2016-06-21 10:01:34 -04:00
  • c19b5e20a0 Merge pull request #198 from Liebherr-Nenzing/master Mark VanderVoord 2016-06-21 06:47:29 -04:00
  • e5712277c1 Merge pull request #198 from Liebherr-Nenzing/master Mark VanderVoord 2016-06-21 06:47:29 -04:00
  • 87af5a1675 add unity_to_junit.py Mathias Giacomuzzi 2016-06-21 09:43:26 +02:00
  • b2c04654e0 add unity_to_junit.py Mathias Giacomuzzi 2016-06-21 09:43:26 +02:00
  • 7c3d829070 Protect against files without any test output Mark VanderVoord 2016-05-18 07:31:17 -04:00
  • 523eb92342 Protect against files without any test output Mark VanderVoord 2016-05-18 07:31:17 -04:00
  • d86a44b501 Merge pull request #131 from andyhelp/master Mark VanderVoord 2016-05-15 14:03:38 -04:00
  • 9760633b33 Merge pull request #131 from andyhelp/master Mark VanderVoord 2016-05-15 14:03:38 -04:00
  • 83f7d5237b Change example_1 to compile with std=c89 Andrzej Bieniek 2015-09-09 21:13:33 +01:00
  • 7497493a41 Change example_1 to compile with std=c89 Andrzej Bieniek 2015-09-09 21:13:33 +01:00
  • 61dd3f181b Change comments style in unity and test runner to compile with std=c89 Andrzej Bieniek 2015-09-09 21:09:59 +01:00
  • 2b1e74c0e7 Change comments style in unity and test runner to compile with std=c89 Andrzej Bieniek 2015-09-09 21:09:59 +01:00
  • a5a927f43e Merge pull request #193 from wolf99/AddConfigTemplate Mark VanderVoord 2016-05-12 11:08:10 -04:00
  • 3ee6758b2e Merge pull request #193 from wolf99/AddConfigTemplate Mark VanderVoord 2016-05-12 11:08:10 -04:00
  • d7a371a993 Moved example unity_config.h from src to examples Toby 2016-05-12 16:00:31 +01:00
  • 3c13396846 Moved example unity_config.h from src to examples Toby 2016-05-12 16:00:31 +01:00
  • 287bcae478 Add template example unity_config.h file Toby 2016-05-11 12:10:55 +01:00
  • 99b65369cd Add template example unity_config.h file Toby 2016-05-11 12:10:55 +01:00
  • 837c5291fa The class gives back to the community: better documentation produced for the class and now part of the open source project Mark VanderVoord 2016-05-06 11:52:06 -04:00
  • d428bf351e The class gives back to the community: better documentation produced for the class and now part of the open source project Mark VanderVoord 2016-05-06 11:52:06 -04:00
  • e3612e9a10 Update Fixtures too. Mark VanderVoord 2016-05-06 10:55:41 -04:00
  • 6b32e9f707 Update Fixtures too. Mark VanderVoord 2016-05-06 10:55:41 -04:00
  • c5c392b18a update UNITY_OUTPUT_CHAR to not return a value (because we never check it anyway). add UNITY_OUTPUT_FLUSH to make sure we get the output we need on aborted tests and whatnot. Mark VanderVoord 2016-05-06 10:47:39 -04:00
  • e48269306d update UNITY_OUTPUT_CHAR to not return a value (because we never check it anyway). add UNITY_OUTPUT_FLUSH to make sure we get the output we need on aborted tests and whatnot. Mark VanderVoord 2016-05-06 10:47:39 -04:00
  • 7053ef7523 Merge pull request #192 from jsalling/feature/unity-coverage Mark VanderVoord 2016-05-04 22:01:13 -04:00
  • 8567fedd96 Merge pull request #192 from jsalling/feature/unity-coverage Mark VanderVoord 2016-05-04 22:01:13 -04:00
  • c5238adab2 100% code coverage for Unity project Add test for failure count and UnityEnd return value Cover printing escape codes with length parameter Full statement coverage jsalling 2016-05-03 21:58:29 -05:00
  • ec842a6d3e 100% code coverage for Unity project Add test for failure count and UnityEnd return value Cover printing escape codes with length parameter Full statement coverage jsalling 2016-05-03 21:58:29 -05:00
  • bff491c73c Test strings not equal to NULL when using length parameter jsalling 2016-05-03 20:47:00 -05:00
  • e82b9195ee Test strings not equal to NULL when using length parameter jsalling 2016-05-03 20:47:00 -05:00
  • 7c270e0541 Test that details are printed in a direct TEST_FAIL call jsalling 2016-05-03 20:31:37 -05:00
  • 25ad6752b5 Test that details are printed in a direct TEST_FAIL call jsalling 2016-05-03 20:31:37 -05:00
  • 4164540333 Test number arrays for two NULL inputs, it should pass More statement coverage on NULL input feature jsalling 2016-05-03 20:26:42 -05:00
  • 1f23430bc4 Test number arrays for two NULL inputs, it should pass More statement coverage on NULL input feature jsalling 2016-05-03 20:26:42 -05:00
  • 213e47178c Test string arrays and memory comparison with length 0, it should fail jsalling 2016-05-03 20:17:38 -05:00
  • 287ae0bbd5 Test string arrays and memory comparison with length 0, it should fail jsalling 2016-05-03 20:17:38 -05:00
  • a6748f39cd Test number arrays comparison with length 0, it should fail Get test coverage on this feature for int, float, & double jsalling 2016-05-03 20:14:30 -05:00
  • ad43838033 Test number arrays comparison with length 0, it should fail Get test coverage on this feature for int, float, & double jsalling 2016-05-03 20:14:30 -05:00
  • 07513dd331 Remove weak linked setup/teardown from coverage build, unreachable & empty Add config flag for 64-bit, max covered lines even with 32-bit compilers Always print uncovered lines, delete separate make target jsalling 2016-05-03 20:02:01 -05:00
  • fdbad8c95a Remove weak linked setup/teardown from coverage build, unreachable & empty Add config flag for 64-bit, max covered lines even with 32-bit compilers Always print uncovered lines, delete separate make target jsalling 2016-05-03 20:02:01 -05:00
  • b971ec921f Simplify printing StrPointless into a single macro, remove repeated code jsalling 2016-05-03 19:52:32 -05:00
  • ed871b22f5 Simplify printing StrPointless into a single macro, remove repeated code jsalling 2016-05-03 19:52:32 -05:00
  • 67a37a4db7 Refactor UnityPrintNumber(), remove unreachable code Remove what looks like an overflow check. 'divisor' cannot overflow since it is the same type as 'number' and cannot be greater. jsalling 2016-05-02 23:50:28 -05:00
  • 802011a500 Refactor UnityPrintNumber(), remove unreachable code Remove what looks like an overflow check. 'divisor' cannot overflow since it is the same type as 'number' and cannot be greater. jsalling 2016-05-02 23:50:28 -05:00
  • 0247e34b1f Merge pull request #190 from jsalling/feature/differentiate-final-ouput Mark VanderVoord 2016-04-27 22:45:13 -04:00
  • 94f3c99663 Merge pull request #190 from jsalling/feature/differentiate-final-ouput Mark VanderVoord 2016-04-27 22:45:13 -04:00
  • 0137f4a8c2 Add option to print FAILED instead of FAIL during the summary For easier automation and searching for a test suite failure jsalling 2016-04-27 21:00:04 -05:00
  • 79c489b4be Add option to print FAILED instead of FAIL during the summary For easier automation and searching for a test suite failure jsalling 2016-04-27 21:00:04 -05:00
  • a00e879d3d Merge pull request #189 from rikvdh/master Mark VanderVoord 2016-04-27 06:54:14 -04:00
  • b8fcaa468a Merge pull request #189 from rikvdh/master Mark VanderVoord 2016-04-27 06:54:14 -04:00
  • 23271e81a6 also check for isinf Rik van der Heijden 2016-04-27 10:25:11 +02:00
  • ebc0fc1aeb also check for isinf Rik van der Heijden 2016-04-27 10:25:11 +02:00
  • 74581c357e use isnan instead of comparing floats, fixes #188 Rik van der Heijden 2016-04-27 10:17:43 +02:00
  • 8297f5e22b use isnan instead of comparing floats, fixes #188 Rik van der Heijden 2016-04-27 10:17:43 +02:00
  • 4f2cdb03fc Merge pull request #185 from jsalling/feature/output-declaration Mark VanderVoord 2016-04-26 22:53:41 -04:00
  • 1837fd5246 Merge pull request #185 from jsalling/feature/output-declaration Mark VanderVoord 2016-04-26 22:53:41 -04:00
  • e97c4fb5e5 Merge pull request #186 from xor-gate/strict-cflag-fix-missing-var-decl-clang Mark VanderVoord 2016-04-26 08:48:59 -04:00
  • 7d67ad17f5 Merge pull request #186 from xor-gate/strict-cflag-fix-missing-var-decl-clang Mark VanderVoord 2016-04-26 08:48:59 -04:00
  • 6a02f7e51c Fixup issues when compiling with clang -Wmissing-variable-declarations Jerry Jacobs 2016-04-26 14:17:10 +02:00
  • cefcf689bd Fixup issues when compiling with clang -Wmissing-variable-declarations Jerry Jacobs 2016-04-26 14:17:10 +02:00
  • 593a03462e Add an option to omit UNITY_OUTPUT_CHAR declaration from the header This solves the warnings from -Wredundant-decls when overriding the OUTPUT function with a function declared in another header. It's better this is the non-default option, since using it requires either a declaration of the new function OR a preprocessor guard on declaring UNITY_OUTPUT_CHAR (as in unity.c here), in every file using the function. See Pull Request #185 for more. jsalling 2016-04-24 12:28:46 -05:00
  • f5bd0bdf1a Add an option to omit UNITY_OUTPUT_CHAR declaration from the header This solves the warnings from -Wredundant-decls when overriding the OUTPUT function with a function declared in another header. It's better this is the non-default option, since using it requires either a declaration of the new function OR a preprocessor guard on declaring UNITY_OUTPUT_CHAR (as in unity.c here), in every file using the function. See Pull Request #185 for more. jsalling 2016-04-24 12:28:46 -05:00
  • 573481729b Revert commits 720ea42 and a27b03c which broke the Fixture build These were aimed at preventing the internals header from declaring a prototype for 'int UNITY_OUTPUT_CHAR(int);'. The second part fixed an omitted declaration in the tests caused by the first commit. Will replace the default behavior & add an option for this in next commit jsalling 2016-04-24 12:14:44 -05:00
  • 598d84feda Revert commits aa3207c and c08ef33 which broke the Fixture build These were aimed at preventing the internals header from declaring a prototype for 'int UNITY_OUTPUT_CHAR(int);'. The second part fixed an omitted declaration in the tests caused by the first commit. Will replace the default behavior & add an option for this in next commit jsalling 2016-04-24 12:14:44 -05:00
  • 25a3666e47 Add Unity Fixture to the travisCI build, and use Makefile builds Prevent changes in core Unity from silently breaking Fixture jsalling 2016-04-24 12:07:51 -05:00
  • f3e23ccb21 Add Unity Fixture to the travisCI build, and use Makefile builds Prevent changes in core Unity from silently breaking Fixture jsalling 2016-04-24 12:07:51 -05:00
  • 5ceab7193f Update Version Mark VanderVoord 2016-04-14 21:22:25 -04:00
  • 7e9703e347 Update Version Mark VanderVoord 2016-04-14 21:22:25 -04:00
  • 1c7e1bd5a2 Merge pull request #183 from xor-gate/master Mark VanderVoord 2016-04-13 07:44:59 -04:00
  • 75c3302bed Merge pull request #183 from xor-gate/master Mark VanderVoord 2016-04-13 07:44:59 -04:00
  • 720ea42a82 tests/testunity.c: Fix after redundant declarations fix Jerry Jacobs 2016-04-13 12:59:31 +02:00
  • aa3207c654 tests/testunity.c: Fix after redundant declarations fix Jerry Jacobs 2016-04-13 12:59:31 +02:00
  • a27b03c79a UNITY_OUTPUT_CHAR can emit a redundant declaration, we scope the extern declartion to the unity.c Jerry Jacobs 2016-04-13 12:19:04 +02:00
  • c08ef33b36 UNITY_OUTPUT_CHAR can emit a redundant declaration, we scope the extern declartion to the unity.c Jerry Jacobs 2016-04-13 12:19:04 +02:00
  • 8c37d7b98a Fix #182, remove redundant function declarations Jerry Jacobs 2016-04-13 11:33:57 +02:00
  • f690717c6b Fix #182, remove redundant function declarations Jerry Jacobs 2016-04-13 11:33:57 +02:00
  • 64d98f240a Merge pull request #177 from jsalling/refactor/unreachable Mark VanderVoord 2016-03-02 17:21:36 -05:00
  • 9921b0d4e0 Merge pull request #177 from jsalling/refactor/unreachable Mark VanderVoord 2016-03-02 17:21:36 -05:00
  • 13c99601a7 Add a value to FLOAT_TRAIT enum to enforce use of default case in switches Revert the previous commit. Add tests for extended enum cases. Fix crash due to accessing 'trait_names' array out of bounds. Adding an extra invalid value to the end of an enum causes '-Wswitch' flag to warn unless there is a switch default case - also enabled by '-Wall'. jsalling 2016-03-01 23:35:55 -06:00
  • f7eb6adb58 Add a value to FLOAT_TRAIT enum to enforce use of default case in switches Revert the previous commit. Add tests for extended enum cases. Fix crash due to accessing 'trait_names' array out of bounds. Adding an extra invalid value to the end of an enum causes '-Wswitch' flag to warn unless there is a switch default case - also enabled by '-Wall'. jsalling 2016-03-01 23:35:55 -06:00
  • 7a0875f4f3 Fix unreachable code in Unity on fully covered switch statements The clang compiler warns here with -Wunreachable-code The enum's switch statement covers all cases, so default is unused Leave the break in the code as a comment, to be more clear The history is this default case was added in f6bb7162 - compiler warning. Then the break was added in c6dc96f3. jsalling 2016-02-27 10:26:04 -06:00
  • bcea48e185 Fix unreachable code in Unity on fully covered switch statements The clang compiler warns here with -Wunreachable-code The enum's switch statement covers all cases, so default is unused Leave the break in the code as a comment, to be more clear The history is this default case was added in f6bb7162 - compiler warning. Then the break was added in 8048e5dd. jsalling 2016-02-27 10:26:04 -06:00
  • e84a7c0a7d Merge pull request #179 from jsalling/feature/unity-coverage Mark VanderVoord 2016-03-02 07:06:22 -05:00
  • 7c35712737 Merge pull request #179 from jsalling/feature/unity-coverage Mark VanderVoord 2016-03-02 07:06:22 -05:00
  • da0f2a0a74 Add Makefile with coverage target for Unity Unity is at 92% coverage now Run 'make -s' to see coverage information for unity.c Run 'make uncovered' to get missing lines output jsalling 2016-02-28 21:16:45 -06:00
  • 24e5a41021 Add Makefile with coverage target for Unity Unity is at 92% coverage now Run 'make -s' to see coverage information for unity.c Run 'make uncovered' to get missing lines output jsalling 2016-02-28 21:16:45 -06:00
  • 295a7906fe Merge pull request #178 from jsalling/feature/coverage-fixture Mark VanderVoord 2016-03-01 06:56:01 -05:00
  • 0027f63413 Merge pull request #178 from jsalling/feature/coverage-fixture Mark VanderVoord 2016-03-01 06:56:01 -05:00
  • 94fc68942b 100% code coverage for Unity Fixture Add tests for uncovered lines jsalling 2016-02-15 23:58:27 -06:00
  • 69b9229a7b 100% code coverage for Unity Fixture Add tests for uncovered lines jsalling 2016-02-15 23:58:27 -06:00
  • cc0f58cfbc Create coverage target in Makefile to output statement coverage with gcov jsalling 2016-02-15 23:56:33 -06:00
  • d4217ffdb9 Create coverage target in Makefile to output statement coverage with gcov jsalling 2016-02-15 23:56:33 -06:00
  • ce6f4737b2 Merge pull request #175 from jsalling/feature/C89-build Mark VanderVoord 2016-02-29 16:59:40 -05:00
  • ac50a125f2 Merge pull request #175 from jsalling/feature/C89-build Mark VanderVoord 2016-02-29 16:59:40 -05:00
  • 4187255a8f Merge pull request #176 from jsalling/refactor/ignored-tests Mark VanderVoord 2016-02-29 16:56:58 -05:00
  • 9c8413cd2a Merge pull request #176 from jsalling/refactor/ignored-tests Mark VanderVoord 2016-02-29 16:56:58 -05:00