You need to sign in to do that
Don't have an account?
Prallavi Dua
Error in test class in Manage Package
Hi,
In the below link, I found a apex Class the same I copied in my dev org it's showing an error 'Compile Error: Defining type for testMethod methods must be declared as IsTest'
https://developer.salesforce.com/page/An_Introduction_to_Packaging
My dout is do we need to create a separate test class for manage PaCKAGE OR it should be included in the same class.
Thanks.
In the below link, I found a apex Class the same I copied in my dev org it's showing an error 'Compile Error: Defining type for testMethod methods must be declared as IsTest'
https://developer.salesforce.com/page/An_Introduction_to_Packaging
My dout is do we need to create a separate test class for manage PaCKAGE OR it should be included in the same class.
Thanks.
Yes we need create separate class annotated with @isTest.
Hope this helps.
Please check once and let me know in case of any furteher assistance.
Thanks
Varaprasad