I didn't see anything about assert methods. In last video also which was about trigger framework, I saw for loop inside for loop and same logic was getting executed two times while inserting and updating (same speaker). I love this channel but i was not expecting this from someone who is a SENIOR Salesforce developer.
Nowadays ppl have started writing test class for just coverage and prod deployment rather assertion. Assertion is mentioned in some last corner just as a point with inadequate emphasis. When the code is written itself assertion should be written.
You shouldn't be using the Developer console, rather you should use the IDE like visual studio code since the Salesforce does not provide the support of Developer console.
I didn't see anything about assert methods.
In last video also which was about trigger framework, I saw for loop inside for loop and same logic was getting executed two times while inserting and updating (same speaker).
I love this channel but i was not expecting this from someone who is a SENIOR Salesforce developer.
It's a very good video, Excellent
Nowadays ppl have started writing test class for just coverage and prod deployment rather assertion. Assertion is mentioned in some last corner just as a point with inadequate emphasis. When the code is written itself assertion should be written.
Learn best practices here www.apexhours.com/apex-test-class-best-practices/
@@apexhours Nothing was in video. could have been in video so that I could understand. Reading material typically are plenty in net.
You shouldn't be using the Developer console, rather you should use the IDE like visual studio code since the Salesforce does not provide the support of Developer console.
If some criteria’s are not tested in test classes what to do??
That's a great question! It's a common challenge to achieve complete test coverage,
@ yeah , what is solution