Skip to content

Commit

Permalink
Add strict check about the test and class naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed May 22, 2024
1 parent 4467102 commit fddc282
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ static bool isTestNamingValid(IMember testMethod)

if (calledMethods != null)
{
// todo: should get the generic type from the AssertNotOk method.
return testMethod.NameStartsWith("IssueTemplate");
// todo: should get the generic type from the AssertNotOk method. the end of the method should be the issue template.
return testMethod.NameStartsWith("TestCheck");
}

return true;
Expand Down

0 comments on commit fddc282

Please sign in to comment.