-
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
[BAM-1641] Update documentation with new test name parsing behaviour
Workflow | Original: JAC Suggestion Workflow [ 3018513 ] | New: JAC Suggestion Workflow 3 [ 3603340 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2701190 ] | New: JAC Suggestion Workflow [ 3018513 ] |
Backlog Order (Obsolete) | Original: 29370000000 | |
Issue Type | Original: New Feature [ 2 ] | New: Suggestion [ 10000 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1417204 ] | New: Confluence Workflow - Public Facing v4 [ 2701190 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 616467 ] | New: Bamboo Workflow 2016 v1 [ 1417204 ] |
Workflow | Original: Bamboo Workflow 2014 [ 602159 ] | New: Bamboo Workflow 2014 v2 [ 616467 ] |
Workflow | Original: Bamboo Workflow 2010 [ 204439 ] | New: Bamboo Workflow 2014 [ 602159 ] |
Workflow | Original: reviewflow [ 197420 ] | New: Bamboo Workflow 2010 [ 204439 ] |
Workflow | Original: Feature Request Workflow [ 169102 ] | New: reviewflow [ 197420 ] |
Workflow | Original: reviewflow [ 166378 ] | New: Feature Request Workflow [ 169102 ] |