It is now easier to create a custom namer
func TestTemplatedCustomNamer(t *testing.T) {
custom := CreateTemplatedCustomNamerCreator("{TestSourceDirectory}/{ApprovalsSubdirectory}/{TestFileName}.{TestCaseName}.custom.{ApprovedOrReceived}.{FileExtension}")
VerifyString(t, "Hello", Options().ForFile().WithNamer(custom))
}
Breaking Changes
- We have removed the original
ApprovalName
namer, this should only affect people who are customizing the namer
Full Changelog: v1.1.1...v1.2.0