Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Nitrogen on your test Pyramid (2) test by design

Nitrogen on your test Pyramid (2) test by design

Test by design slides for the presentation i did in Virtual Android Makers 2020.

Enrico Bruno Del Zotto

April 20, 2020
Tweet

More Decks by Enrico Bruno Del Zotto

Other Decks in Technology

Transcript

  1. 1. TEST Transfer of Environmentally Sound Technology 2. TEST Treadmill

    Exercise Stress Test 3. TEST The Simputer Trust (Indian Institute of Science and Encore Software) 4. TEST Thermal Energy Storage Technology 5. TEST Trade in Environmental Services and Technologies (USAID) 6. TEST Telemedicine and Education Support Team (UK) 7. TEST Textile Employment Support Team TEST
  2. “Code refactoring is the process of restructuring existing computer code—changing

    the factory—without changing its external behavior.” - Wikipedia REFACTOR
  3. Go directly to the “scenario” Keep your test agnostic! agnostic:“someone

    who does not know, or believes that it is impossible to know”
  4. Need of level of abstraction! Don’t care of : Idling

    resources / async events Data layer (Network,db etc.)
  5. Uncle Bob says: Keep your test code to the same

    level of quality to the production one. Test code isn’t throw-away code.
  6. • Very easy to read • Very easy to extend

    • Good level of abstraction (no need to change test if flow isn’t changing)
  7. End2End tests will cover user journey in the app Covering

    high level reqs ‘what user will see’ means refactor process will be faster. Choose your ‘ui’ test design pattern Your design architecture can help you If you start a project from scratch keep in mind the ‘test per design’ approach. TL;DR