Can we use analytics cookies? They count visits and form use. We run no ads.

AQA Virtual Summit/MeetupsImportance of Test AutomationTest Automation Methodologies

Nikolaj Tolkaciov. Full-stack test automation

Published 3 March 2022. Updated with a short answer, key takeaways and a FAQ; the talk text is unchanged. Published by Zapple.Tech, founded by the founders of CodeceptJS and Codeception, open-source testing frameworks.

Watch on YouTube
Short answer

In this talk, Nikolaj Tolkaciov, head of the testing practice at Devbridge, explains full-stack test automation: using each level under our control to get the best automation solution. He compares the test automation pyramid with the Bug Filter approach and lists three ways to split work between developers and test engineers.

Key takeaways
  • The test automation pyramid and the Bug Filter alternative
  • The gap between developer and test engineer responsibilities
  • Three ways to split unit, integration, API and UI test writing
  • Treating automation layers as bug filters

Nikolaj Tolkaciov, head of the testing practice at Devbridge, talked about full-stack test automation in terms of using each of the levels under our control to get the best automation solution.

The Test Automation Pyramid and its Alternative

The original Test Automation Pyramid consists of:

  • UI tests;
  • Service;
  • Unit.

These are the levels at which we can build our automation consisting of UI, API, integration, component, and unit tests.

There is another approach to automated testing – Bug Filter. The idea is that there is an endless set of different bugs. First, you run unit tests and find all bugs which can be found with the unit test. Then move on to integration testing, only those bugs that cannot be found by unit testing get here. And then move on to E2E and user testing. Thus, only functionally undetectable bugs get into production!

This approach has another advantage. Usually, when developers complete their work, testers write UI E2E tests, assuming that the unit test does not cover anything, and you need to do everything from scratch by duplicating efforts. The Bug Filter brings a focus on the correct order of test automation and thus reducing duplicated test coverage.

This brings us to automating full-stack testing.

The Essence of Full-Stack Test Automation

In software testing, there is a responsibility division. Developers do unit/integration testing, and the rest is for test engineers. And there is a huge gap between them.

How to avoid it? There are several options for the events’ development.

  1. The developer writes unit/integration, API, and UI tests.
  2. The developer writes unit/integration tests and then defines what to test by the API and UI tests. Test engineers write API and UI tests according to these specifications.
  3. The developer writes unit/integration tests. The test engineer analyzes what is covered by the unit/integration test layer then writes API and UI tests to cover gaps missed by the unit/integration test.

Conclusion

Treat test automation layers as bug filters, learn how to implement unit testing, take care of the full test automation stack. This will eliminate all bottlenecks and increase ROI for test automation.

Questions about this talk

What is full-stack test automation?

Nikolaj Tolkaciov describes it as using each of the levels under our control, from unit to UI, to get the best automation solution. It addresses the gap that appears when developers do unit and integration testing and test engineers handle the rest.

What is the Bug Filter approach?

Nikolaj Tolkaciov describes the Bug Filter as an alternative to the test automation pyramid. You run unit tests first and find all bugs they can find, then integration tests catch only what unit tests miss, then end-to-end and user testing. It also reduces duplicated test coverage.

Who should write which automated tests?

Nikolaj Tolkaciov gives three options: the developer writes unit, integration, API and UI tests; or the developer writes unit and integration tests and defines what API and UI tests should cover, which test engineers write; or test engineers analyze what is covered and write API and UI tests for the gaps.

Request a QA audit quote

Tell us what you ship and what worries you.

What happens after you send this

  1. You send the form: your situation and what you need tested, then your name and work email.
  2. Within one business day, we reply with a suggested first step, its scope, timeline and a quote.
  • Fixed scope
  • You decide after each step
  • The tests live in your repository
  • An NDA signed before access

“They helped us to close the positions and consult our team how to proceed further. High-quality quick feedbacks with the deep checking of the required tasks, professional approach, great understanding of the company's technologies and product, detailed reports.”

Kristina Lavrentieva, Manager at keepgo.com, Israel
  • Rated 4.9 out of 5 on Clutch, from 7 client reviews
  • 42 completed test automation and infrastructure projects
  • Founded by the founders of CodeceptJS and Codeception, open-source testing frameworks

Request a QA audit quote

    What is closest to your situation?
    Optional. The product, the platforms, how often you release, what broke last.

    You decide after our reply whether to go ahead.

    Prefer to talk first? Book a call

    One-week QA audit · written report

    Request a QA audit quote