You need to sign in to do that
Don't have an account?
Allen2
I have written the following apex class and want to write a test class for that. Can anyone please help me out to write the test class for this.
public class Task{
public Datetime Created_Date;
public Date Completed_Date;
public String Comments;
public string Email;
public string Amount;
}
public Datetime Created_Date;
public Date Completed_Date;
public String Comments;
public string Email;
public string Amount;
}
Hi
I suppose you have not rows to be covered in that class. If you open that class in SF UI (Develop -> Apex Classes - > Task), you will see: "0% (No coverage data)"
If you add something like:
you will see: "Code Coverage 0% (0/1)"