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

Test Driven Development with Flutter BLoC

Test Driven Development with Flutter BLoC

This was a presentation for the amazing community at Flutter Developers Kenya where Test Driven Development was introduced and how to follow the paradigm using state management in flutter called BLoC.
The community was introduced to what Test-Driven Development is and what it is not and how to approach test-driven development.

Temitope Ajiboye

May 29, 2020
Tweet

Other Decks in Programming

Transcript

  1. What is Test Driven Development? “…Requirements are written as test

    cases, then the code is written so that the test will pass.” Changing and adding code to existing code without changing the behaviour of the code
  2. Why use TDD? It’s the simplest way to achieve good

    quality code and good test coverage.
  3. Rules of TDD - Write only enough of a unit

    test to fail - Write only enough production code to make the failing unit test pass.