Hector Zea

I like to build things with code. Im a software engineer based in Berlin, Germany.

  1. What to test in a Frontend Application?

    First, we need to understand which component we want to apply a good quality of tests and what type of tests we want to cover (e.g: unit tests, integration tests or visual / snapshot tests)

  2. Preparing the test plan

    We think about all the possible behaviors of the component and what type of software development process we want for doing them, the mostly used is TDD (Test Driven Development) in frontend

  3. We start writing the tests first

    With this software development principle we ensure to write first all the possible tests scenarios for a component

  4. Execute tests and make them fail

    When we do this, we are sure that we need to create the component to start making this tests pass

  5. Creating the component

    Create the component thinking on solving all the tests scenarios we planned

  6. Start making tests green again!

    With the UI created we start to fix all those red tests