+ Start a Discussion
sreeesreee 

can we write test class inside vf page???

can we write test class inside vf page???

 

test class inside trigger?

 

test class inside controller?

 

Thanks in Advance

souvik9086souvik9086

We can never write test method inside vf page and trigger.

We could write test method within controller, but from summer 13 release we can't do that as well. We have to create a separate test class.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks