-
Suggestion
-
Resolution: Fixed
-
None
-
None
Hi Rosie,
Bamboo 1.2.3 will need a small documentation update for the following improvement:
Bamboo derives the names of test cases from the names of the methods that implement the test cases.
For example, by convention, JUnit test cases usually have names prefixed with the word "test", with the remainder of the name in "camel case" e.g., "testUserCanBeDeleted". Bamboo removes the "test" prefix (if it exists) and forms a sentence from the rest of the name, using captials to identify the beginning of words. The previous example becomes "User can be deleted".
Non-Java users (Ruby on Rails developers using Test::Unit, in particular) use different conventions for naming tests. The convention with Test::Unit is to use underscores to separate words, so the equivalent of the JUnit example above would be "test_user_can_be_deleted".
Bamboo 1.2.3 will treat both capitals and underscores as word separators, so each of the following method names would result in a test case name of "User can be deleted":
- testUserCanBeDeleted
- test_user_can_be_deleted
- testuserCan_be_Deleted
- userCan_BeDeleted
Please see BAM-1439 or me if you need further details.
Cheers,
Adrian
- is caused by
-
BAM-1439 Reformat underscore-style test names
- Closed