Unit Testing

Unit Testing

 
 
00:00 / 38:45
 
1X

unit test

Unit testing is an important programming skill but often times underestimated by programmers. David Reed shares what unit tests are and how to create good unit tests in Apex to guarantee production code quality.


Show Notes:

  1. 75% code coverage in Salesforce Apex
  2. Unit test definition
  3. Unit test v.s. Integration test
  4. Mocking in unit test
  5. 5 Unit test test scenarios to create good unit tests: 1) positive 2) single record 3) bulkified records 4) negative 5) no action
  6. Unit tests as the documentation
  7. Lines of unit test should be more than production code
  8. How to create good unit tests in Salesforce
  9. Test Driven Development (TDD)

Links:

Leave a Reply