mirror of https://github.com/stretchr/testify.git
When using suites, test names were just the raw suite method name, but that's often not detailed enough to know what the problem is. This commit adds the ability to pass a custom name format using certain formatting marks (sort of similar to templating strings) to include the name of the function that called Run or NamedRun, the name of the suite's type, and/or the name of the method. |
||
---|---|---|
.. | ||
doc.go | ||
interfaces.go | ||
suite.go | ||
suite_test.go |