function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Deploy Error: INVALID TYPE test class


       I have written custom component and test class, i'm tried to deploy the code(Custom component and Test class) sandbox to production, i got Error: INVALID TYPE - My test class, I don't no what is a problem, Kindly give any solution to this

Waqar Hussain SFWaqar Hussain SF
Have you define a class in your org with the name "Test"??
please check it and rename it
Can you please confirm is this really Name issue or anything else so that we can investigate accoridngly. Test is a special keyword. 
We have many static methods over this class like starttest() and stoptest()

Sandeep Singhal