During execution TestApe will log test progress to the screen.
Every error detected and every test execution is assigned a sequential identifier. Error identifiers are
3 digits shown prefixed by e, e.g. e001. Test identifiers are shown prefixed by t, e.g. t001.
These identifiers can be used from the commandline to limit the amount of test to run.
The log output can be disabled from commandline, but as default it is enabled and each log statement is
prefixed with the tag TestApe and optionally the current test and/or error identifier as shown below.
testape: TestApe test executable
testape: Unit testing for embedded software - http://testape.com
testape:
testape: Test executable initializing
testape: -ide ( error identifiers shown in log )
testape: -idt ( test identifiers shown in log )
testape:
t000 e000 testape:
t000 e000 testape: Executing test testmain
t000 e000 testape:
t001 e000 testape:
t001 e000 testape: Executing test test_addition
t001 e000 testape:
t001 e000 testape:
t001 e000 testape: PASSED test test_addition
t000 e000 testape:
t000 e000 testape: PASSED test testmain
testape:
testape:
testape: Test exeutable terminating
testape: exitcode 0
When an error is detected TestApe will log information about the error. Generally a line for the actual and expected
value. Only 8 values will be shown on each line, so when validating file content, strings, structs and arrays, several
lines may be shown. Differences between actual and expected are indicated with the ^ sign as shown below.
testape: FAILED verify s testape: expected .......... [000] 4e 4f 54 20 'NOT ' testape: actual ............ [000] 57 45 52 00 'WER.' testape: ^^ ^^ ^^ ^^ ^^^^
testape
New is this release are support for floating point validations and function mocking. Also, MinGW has been added to the list of supported platforms.
moreTestApe forum is now hosted on Proboards. Support questions can be posted here or send directly on email. Due to ...
moreTestApe can now be used with MinGW GCC on windows. Also supported in this beta are floating point types in validations or when mocking functions
moreA small fix for webtty scripts, to allow the usage from Apple IPads. Tab on textarea to bring up IPad keyboard - you may have to scroll webpage beneath keyboard, in order to actually see what you're typing.
This release contains a new flexible mocking system with default mocks automatically generated for unresolved functions. Installation packages are available for GCC/Linux, GCC/CygWin as well Visual Studio 2009/Windows XP or Vista.
moreNew beta version is now available for download. This is the last beta before official release. The release supports an extensive mocking system.
moreThere is a change for the forum hosted on this site. The previous phpBB forum is closed for now. All forum threads will be migrated to a new simple blog. ...
more