FavoriteNidish G (BSC) asked in #Salesforce DeveloperApr 3, 2022, 12:36 PMcan we write a non static test method? what happens if we write it1 answerSortSort by DateSort by Most HelpfulSort by DateAccepted AnswerDivaker Singh (Girikon LLC)Apr 3, 2022, 12:49 PMHello Nidish, This is not possible, have you ever tried. You will got below error.testMethod methods must be declared as static Thanks!Add a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Accepted AnswerDivaker Singh (Girikon LLC)Apr 3, 2022, 12:49 PMHello Nidish, This is not possible, have you ever tried. You will got below error.testMethod methods must be declared as static Thanks!