Commandline options

If no options are given, all tests are run and the test will output a short summary and report any errors to stderr. This behavior can be changed by providing one or more of the following options

  test executable 
   [options] 
   [[-run | --run-tests] identifiers[,identifiers]]
   [--args args]

  -a --args                     : arguments after --args are passed to testmain
  -e --first-error              : execute the test having the first error
  -ide --show-test-identifiers  : enable error identifiers in testlog output.
  -idt --show-error-identifiers : enable test identifiers in testlog output.
  -tag xx --log-tag xx          : enable log tag xx in testlog output.
  -notag --no-log-tag           : disable log tag in testlog output.
  -q --quiet                    : disable all output.
  -oe --output-error            : output errors only.
  -ol --output-log              : output errors, summary and log.
  -h --help                     : print this help. 

   identifiers -id | id- | id-id : until id | from id to id | from id
   id [t]nnn | testname | ennn   : test nnn | test testname | test having error nnn

All arguments after --args or -a parameter are treated as arguments to testmain.

-q or --quiet are used to prevent all output from testape. -oe or --output-error will disable all output except error messages written to stderr. -ol or --output-log will enable detailed log output. The log report will be written to stdout.

The name of a test can be used as identifier on the commandline. 4.2 In addition each test is numbered. These names or numbers can be used as identifiers. Each argument that accept an identifier, also accepts a list of identifiers and /or a range of identifiers. Each identifier in a list, is seperated by ','. The start and stop values in a range is separated by '-'. If no start value is given the first test is used as start value. If no stop value are given, the last test is used as stop value. Some identifier examples are shown below

	test_load_my_app
	test_load_my_app,scenario_sunshine_all_ints
	scenario_sunshine_all_ints-
	-scenario_sunshine_all_ints
	test_load_my_app-scenario_sunshine_all_ints
	1
	1-10,4,124

testape

News

The latest headlines from Testape.com

TestApe Release 1171 available, Aug 20th 2014

It has been a long time since last official release and the list of bugfixes, features and supported platforms accumulating in the beta has grown substantially. I am happy to annouce that a new release is ready.

more

TestApe beta version available, Jul 21th 2014

New beta version is now available for download.

more

TestApe Release 880 available, Dec 3rd 2011

New is this release are support for floating point validations and function mocking. Also, MinGW has been added to the list of supported platforms.

more

Forum change, Mar 27th 2011

TestApe forum is now hosted on Proboards. Support questions can be posted here or send directly on email. Due to ...

more

TestApe beta release available, Sep 27th 2011

TestApe can now be used with MinGW GCC on windows. Also supported in this beta are floating point types in validations or when mocking functions

more

IPad update for WebTTY, May 15th 2011

A 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.

TestApe Release 791 available, Apr 2nd 2010

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.

more