You need to sign in to do that
Don't have an account?

System.debug statements in a data factory
Hi,
I have for lack of a better word--a data factory that I call from within my test class. I need to see the debug statements that I have in the data factory class method but when I look at the logs I do not see the debug statements that I created. I need to see if I am building the data correctly because I am having an issue.
Is there a way to see debug statements in test classes or the data factory class/method that I call.
I have for lack of a better word--a data factory that I call from within my test class. I need to see the debug statements that I have in the data factory class method but when I look at the logs I do not see the debug statements that I created. I need to see if I am building the data correctly because I am having an issue.
Is there a way to see debug statements in test classes or the data factory class/method that I call.
Ya its possible to see debug statements in test class as same as like apex class.
For this test class, set your debug statement wherever you need in that and run your test class and check your debug logs.
Thank You