UnitTesting Fundamentals - What exactly to test?
2433
What is the difference between integration and unit tests?
7197
How to write a unit-test / test class for trigger?
69814
Developing Unit Tests While Refactoring Legacy Code?
1005
How do I test a private function or a class that has private methods, fields or inner classes?
147967
Mock a service while running a BrowserTest?
58596
Can we use system.assert followed by system.assertEquals?
64351
Unit testing a Java Servlet
143496
Is MIXED_DML_OPERATION in unit tests broken?
140736
How to unit test a method with dependencies in PHP?
91335
Making a private method public to unit test it...good idea?
140302
Testing a class that has multiple callouts?
125567
What is Object Mocking and when do I need it?
67590
How do I unit-test saving file to the disk?
100024
How do I write a scala unit test that ensures compliation fails?
83962
Unit testing code which has logic around the CreatedDate
98099
How to include inner class/wrapper class in test method?
140501
How to test @future methods with setup objects and avoid MIXED_DML_OPERATION