Commit Graph

24 Commits

Author SHA1 Message Date
mvandervoord
f492adfec4 - throw errors in example runner
- make unity optional in test runner generator (though that's not really too helpful at the moment)

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@73 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-06-06 16:59:00 +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
4fc9cf594a - added array handling for smaller integer types
- added array handling for floats
- cleaned up filename handling in scripts

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@67 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-03-30 03:34:09 +00:00
mvandervoord
2051e500cb - fixed order of test assert bits
- test_runner_generator now protects against directories in include statements

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@61 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-03-14 01:50:53 +00:00
mvandervoord
5e75c90c89 - standardized output format for test results
- added color coding to output

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@58 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-03-10 03:10:41 +00:00
mvandervoord
e966e563c2 fixed silly mistake: only include cmock.h when mocking
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@57 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-03-09 12:23:40 +00:00
mvandervoord
91de19e504 - added message support to NULL macros
- tweaked runner generator to use symbols for cexception like everything else.

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@56 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2010-03-08 13:31:11 +00:00
mvandervoord
302e786453 - updated test runner generator to match latest cexception changes
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@47 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-12-05 00:31:49 +00:00
mvandervoord
8117581f2f - cleaned up interface to generate_test_runner.rb
- fixed a couple minor warnings in unity.c


git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@39 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-08-24 13:53:46 +00:00
mkarlesky
d96d84f547 added output statement noting generation of test runner
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@38 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-07-13 22:14:10 +00:00
greg-williams
18ef056d6d Added resetTest() method to generate_test_runnner.rb to perform mock verification (optionally), tearDown() and setUp() mid-test. This allows for testing multiple passed through a given function that calls to external mocks and helps cleanup post-test state oddities. Need to figure out how to resolve this current circular reference from the test to the runner though, since the runner is what calls the test methods.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@36 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-07-05 18:42:39 +00:00
mvandervoord
aa3277dd19 - removed configurable tab because it was a performance hit without significant benefit
* WARNING: This is very likely to break the way you call generate_test_runner! We have removed the tab argument. *

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@35 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-06-25 19:23:18 +00:00
mvandervoord
432e6313f8 - finished strict ordering support
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@34 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-06-24 02:27:01 +00:00
mvandervoord
8b274116c0 * fixed mistake in global ordering support in test runner generator
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@33 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-06-19 02:04:47 +00:00
mkarlesky
72d461cacd changed grab_config to class method
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@31 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-05-29 20:36:15 +00:00
mvandervoord
8d03e90091 - moved unity helper into the example directory, because it's not really core.
- made generate_test_runner more flexible in how data comes in.

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@28 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-05-28 15:31:34 +00:00
mvandervoord
5a35176ec8 - added support to use CMock's yaml file for options
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@23 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-04-11 03:03:16 +00:00
mvandervoord
24a56b0c38 - happier with const (and more optimized on some compilers)
- better helper examples
- general purpose memory compare

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@16 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-02-19 03:30:45 +00:00
mvandervoord
12289c3f52 * Updated frame to not require separate pointer initialization
* Updated test runner to protect teardown (just in case someone tries to put ASSERTS in their teardown function)

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@13 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2009-01-26 15:16:38 +00:00
mvandervoord
be1c104dc0 * fix to test runner generator
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@12 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-12-12 17:28:05 +00:00
greg-williams
9c5213f104 * Fixed hang upon CMock mock verification detecting a failure
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@10 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-11-20 19:58:09 +00:00
greg-williams
e8c1dcf374 * Updated generate_test_runner.rb to work with latest Unity changes
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@9 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-11-13 23:27:57 +00:00
greg-williams
8f6a7ad770 - Modified generate_test_runner.rb to generate unit test main() with int main(void) instead of void main(void) in order to work with GCC
- Removed unused methods from unity_test_summary.rb

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@6 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-11-07 14:36:10 +00:00
mvandervoord
d1550d8494 Examples projects, more complete documentation, and other beautification. It brings a tear to the eye.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@4 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
2008-10-29 00:00:30 +00:00