Commit Graph

33 Commits

Author SHA1 Message Date
Mark VanderVoord 1d336f6ddb Fix broken standardized failure output. Fix formatting issues 2026-03-20 17:34:45 -04:00
Mark VanderVoord d1fe18bd54 Updates for the new year. 2026-01-23 11:18:36 -05:00
Mark VanderVoord 1a29024cc7 It's a New Year 2025-01-01 11:46:30 -05: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 671f8d25f1 Update all the boilerplates 2024-03-16 23:15:00 -04:00
Mark VanderVoord 88069f045c Fix docs issues.
Update scripts to match latest rubocop.
Fix hex length of unity printf feature.
2023-11-07 23:48:48 -05:00
Mark VanderVoord a7639eeb54 Bump rubocop up to newer ruby versions (in progress) 2023-02-16 16:40:23 -05:00
Mark VanderVoord 36259d46b6 Merge PR #545 2023-02-06 15:15:43 -05:00
Martyn Jago b44c2dd095 Fix broken YAML parsing on later Rubies with Psych >=4.0
YAML.load is now interpreted as YAML.safe_load, which breaks where the
YAML file contains aliases. If we can assume our yaml files are
trusted (since this a development tool), we can check for the presence
of YAML.unsafe_load and use it instead if it exists.
2022-05-27 15:08:11 +01:00
Erik Flodin 8e1e9c18ab Fix ruby style warnings as reported by rubocop 2021-04-15 22:22:33 +02:00
Mark VanderVoord 0b899aec14 Fix conditional issue in generator script.
Bump version.
2021-01-26 08:59:27 -05:00
Mark VanderVoord fcab680286 Ruby script cleanup.
Fix warnings.
Remove 32-bit tests from standard suite because they're not running on most platforms.
2021-01-16 21:03:18 -05:00
Julien PEYREGNE 76c3755fe3 Add guard TEST on test module template
With a test file guarded we can include this file on IDE project
(MPLAB X in my case) and compile without excluding test files.
Excluding test files on MPLAB X disable autocompletion and function
navigation.
2020-09-07 10:37:26 +02:00
mvandervoord 2c3e75e859 Fixed issue #486 2020-03-17 20:38:11 -04:00
Dom Postorivo 3b5b491860 sub in '_' for '-' in define and test name in module generator 2019-12-26 01:10:09 -05:00
mvandervoord eb0bd42f0d Updated to newer coding standard 2019-10-24 15:33:41 -04:00
Nico Tonnhofer a59db2bdbf add a blank line after #include "unity.h"
The include must be in the first line, else you may expect some issues.
Some autoformat tools could sort the includes alphabetically and could
break the test.
2019-06-27 08:28:52 +02:00
Jason Heeris ead95b3ab8 Removed leading underscore from module generator header guards. 2019-02-22 08:38:29 +11:00
John Lindgren 6b657c6f17 Fix (most) Rubocop warnings. 2018-11-28 13:27:00 -05: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 3e0a7121fb Started to flesh out rubocop settings for this project. Added rakefile tasks to do so. Updated first script to make it compliant. 2017-03-28 15:48:28 -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
Matt Chernosky 7b51355e5a Module generator finishes for partially existing files
This resolves #219. When generating a new module, if all the files to
generate already exist then it fails as before. If some of the files
already exist, then the files that need to be created are created. Any
existing files are not changed.

Also added a bunch of tests for this feature via rspec. Run them from
the test folder with `rake spec`.
2016-12-02 13:49:07 -07:00
Matt Chernosky 37049a3a20 Fixed error when path provided with module name. 2016-11-28 23:57:17 -07:00
Mark VanderVoord 4386cf356f Added to Module Generator:
- configurable case.
- better passing of includes and boilerplate information
- test only pattern
- optional naming conventions for case
2016-11-22 14:24:24 -05:00
Mark VanderVoord 4e2f0381cc Add ability to inject correct mock prefix 2016-11-21 15:19:16 -05:00
Mark VanderVoord 661c1b2d56 Boost version and remove some debug puts statements 2016-10-27 23:06:18 -04:00
Mark VanderVoord 2ce8618014 refactor generate_module so that it can be called as a class from within Ceedling (much like the test runner generator) 2016-10-27 17:33:13 -04:00
Mark VanderVoord b3bc196ab3 making new flush routines work under all defined conditions. 2016-06-21 10:01:34 -04:00
Mark VanderVoord 33325f4a0b More fixes to line endings 2016-01-07 14:20:59 -05:00
mvandervoord 26c61f611f git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@109 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e 2010-12-27 17:33:08 +00:00
mvandervoord 3fbc034e7d - restored examples to working condition
- restored makefiles to working condition
- updated files to include copyright notice
- fixed bug in string array comparisons
- ignored tests no longer run teardown
- tests failing for uncaught cexceptions now get exception id reported

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@70 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-04-26 01:10:48 +00:00
mvandervoord 5e6a64bca4 - added missing generate_module script
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@50 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-12-28 18:34:33 +00:00