Skip to content

Commit 17fd4ea

Browse files
kenjisMGatner
andauthored
docs: add method name examples
Co-authored-by: MGatner <mgatner@icloud.com>
1 parent 609e41f commit 17fd4ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/testing/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Traits
108108

109109
A common way to enhance your tests is by using traits to consolidate staging across different
110110
test cases. ``CIUnitTestCase`` will detect any class traits and look for staging methods
111-
to run named for the trait itself.
111+
to run named for the trait itself (i.e. `setUp{NameOfTrait}()` and `tearDown{NameOfTrait}()`).
112112

113113
For example, if you needed to add authentication to some
114114
of your test cases you could create an authentication trait with a set up method to fake a

0 commit comments

Comments
 (0)