Skip to content

Commit

Permalink
Fixed #29. Provide support for user defined test name prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kward committed Jan 9, 2018
1 parent 7b56ca7 commit 1b7ba3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ There are several constants provided by shUnit2 as variables that might be of us
| SHUNIT\_CMD\_EXPR | Override which `expr` command is used. By default `expr` is used, except on BSD systems where `gexpr` is used. |
| SHUNIT\_COLOR | Enable colorized output. Options are 'auto', 'always', or 'never', with 'auto' being the default. |
| SHUNIT\_PARENT | The filename of the shell script containing the tests. This is needed specifically for Zsh support. |
| SHUNIT\_TEST\_PREFIX | Define this variable to add a prefix in front of each test name that is output in the test report. |

### <a name="error-handling"></a> Error handling

Expand Down
6 changes: 6 additions & 0 deletions doc/CHANGES-2.1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# shUnit2 2.1.x Changes

## Changes with 2.1.8

### Enhancements

Issue #29. Add support for user defined prefix for test names. A prefix can be added by defining the `SHUNIT_TEST_PREFIX` variable.


## Changes with 2.1.7

Expand Down

0 comments on commit 1b7ba3a

Please sign in to comment.