SalesforceWay

14. Unit Testing | David Reed


Listen Later

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. Main Points 75% code coverage in Salesforce Apex Unit testing definition Unit test v.s. Integration test Mocking in unit test 5 Unit test scenarios to create good unit tests: 1) positive 2) single record 3) bulkified records 4) negative 5) no action Unit tests as the documentation Lines of unit test should be more than production code How to create good unit tests in Salesforce Test

The post 14. Unit Testing | David Reed appeared first on SalesforceWay.

...more
View all episodesView all episodes
Download on the App Store

SalesforceWayBy Xi Xiao

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

6 ratings


More shows like SalesforceWay

View all
The Daily by The New York Times

The Daily

111,191 Listeners

Rustacean Station by Rustacean Station

Rustacean Station

62 Listeners