Test case names in xUnit have better definitions

Description

Updated the test names anatomy to the following in xUnit mode

  1. A method is a test case if it is annotated with the word test

  2. It is a method that begins or ends with the word test

This has some departures from MXUnit where all public methods are test cases.

Original Ticket

These two bullet points taken from here: http://wiki.mxunit.org/display/default/Anatomy+of+a+TestCase

  • The filename either starts or ends with "Test"

  • The TestCase can contain any number of public methods. Those public methods are considered tests regardless of their name, and MXUnit will run them as tests. Failures will be recorded as failures; errors as errors; and successes as successes

The TestBox compat runner currently has it backwards and runs every CFC, but only methods with the word test in them.

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Fix versions

Priority

Major
Configure