1 / 8

Sitecore SUGNL Meeting – Unit testing with test fixtures

Robin Hermanussen – Lukkien. http://hermanussen.eu/sitecore/wordpress / https://twitter.com/knifecore. Sitecore SUGNL Meeting – Unit testing with test fixtures. March 13 th , 2013. Contents. Unit testing Mocking Test fixtures In-memory dataprovider Demo. Unit testing.

feoras
Download Presentation

Sitecore SUGNL Meeting – Unit testing with test fixtures

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Robin Hermanussen – Lukkien http://hermanussen.eu/sitecore/wordpress/ https://twitter.com/knifecore Sitecore SUGNL Meeting – Unit testing with test fixtures March 13th, 2013

  2. Contents • Unit testing • Mocking • Test fixtures • In-memory dataprovider • Demo

  3. Unit testing • Test parts instead of the complete project • Runs in its own runtime • Not a replacement for other types of testing

  4. Unit testing • Helps during development • Protects against breaking changes • Reports and metrics

  5. Mocking • When integration is not helpful • Input for a test

  6. Test fixtures • Representative data • Easy to maintain

  7. In-memory dataprovider • Simple and fast • Manage with TDS/serialization/packages

  8. Demo View sheets and the demo project afterwards? http://hermanussen.eu/sitecore/wordpress/

More Related