It’s time to use ML to fix End to End Testing

It ’ s time to use ML to fix End to End Testing Izzy Azeri October 25, 2017 <

May 30, 2026 · 4 min read · Testing Guide

It ’ s time to use ML to fix End to End Testing

Izzy Azeri
October 25, 2017

I ’ m a serial enterpriser who has spent time working at Google, VMware, my 1st startup Stackdriver, and now my second, & nbsp;mabl. We part mabl sooner this yr to help developers with the painful challenge of testing their application as maturation cycles are getting shorter with the acceptation of CI/CD and automation testing.

How Can mabl Improve End to End Testing?

As we be starting the company, I did a lot of research, primarily by attain out to developer, & nbsp;particularly those that had embraced DevOps,to understand their take on package testing. We launched asurveyto get quantitative feedback. One of my main sources be blogs publish about the challenges of testing covering in a modern developer workflow. Ablog post that I was drawnto was fromMike Wacker, a software engineer at Google and & nbsp;previously & nbsp;a developer at Microsoft. Mike wrote the& nbsp; post in 2015 about why end to end testing just doesn ’ t matter anymore and why developers should center on unit tryout and to a lesser extent integration tryout as the basis for ensuring quality in their code. If you haven ’ t read it and are involved in end to end examination, you should. His premiss was (I ’ m summarizing and probably not doing enough jurist to Mike):

  • End to end examine “ should ” deliver the most value for customer, since they ’ re replicating existent user scenario. Mike indicate that all product stakeholder include developers, QA, and director concord to this general assumption. & nbsp;
  • However, end to endtests are not honest (flaky), take too long to complete (run overnight), and when there are bugs, the drive is hard to diagnose. Mike argues that these issues with end to endtests should force us to consider a different testing approach for ensuring customers are happy. & nbsp; & nbsp;
  • Unit tests are the immediate solution because they find bugs and remedies faster. These, combined with desegregation tests which assist test numerous components together and identify bugs before lengthy end to endtests are written, are the solution recommended by Mike to the broken promise of end to endtests. & nbsp; & nbsp;

Mike was correct with his finish, for the time. Why waste time on end to endtryout when you already know the challenge they present? Instead, compensate by adapting your testing process. & nbsp;

Comparing unit exam to & nbsp; end to end & nbsp; tests from Mike ’ s blog

Enter Machine Learning

As Sundar Pichai discussed atIO 2017, Google is revamping all of its products to be AI inaugural – given the advancements in computer sight, voice credit, and machine encyclopaedism. We ’ ve already seen the smart technology Google has present from a consumer perspective for age, include self-learning thermostats, traffic navigation, and speech recognition. The next step for Google is applying AI for business use causa, which it ’ s already doing withinGoogle Cloud. At mabl, we also believe ML can have a profound impact on ameliorate the lives of developers, let them to spend more time building outstanding products and less time on repetitive chore. This is why we ’ re challenging ourselves to lick the specific problems that Mike orient out with end to end examination.

For autonomous testing across multiple user personas, check out SUSATest — it explores your app like 10 different real users.

Some of the things ourteamis focusing on include:

  • Gonzo tests:
    • As Mike mentioned in his blog, end to end tests often miscarry due to the test not be reliable. When this happens, developers lose assurance in their tests and just ignore them. We believe mabl should be capable to automatically detect when steps in trained tests are neglect because of a slim change to the UI. mabl should recommend a fix to the exploiter and mechanically update the test script if they sanction it.Our goal is to annihilate flaky test so developers can drop more clip on coding and less clip on maintaining their tests. 
  • Isolating failure:
    • A developer searching for a needle in a haystack to solve a exam failure isn ’ t the good use of that developers clip. Given that mabl has different eccentric of tests running & nbsp;on an covering & nbsp;all the time, she ’ s learning lots about the application. She can use this datum to provide evidence of what pieces of an coating aren ’ t act and level the dev right to it.Helping developers see out what is wrong and why is of eminent importance for mabl. & nbsp;
  • Speed of tests:
    • Mike specifically called out waiting for tests to run overnight, just to find out if a specific component is break. We ’ ve besides heard from several of our users that manual QA or even outsourced QA to manual tester still takes the clip of a normal human to screen.We believe end to end tests should be continuous, not all-night, and should run at the speed of machine time, not human clip. & nbsp;
  • Self-learning tests:
    • One thing Mike didn ’ t credit is about learning from past test runs. We believe mabl should unceasingly learn from the tests she ’ s running as easily as the feedback users are giving her, just like ML applied to consumer patterns.The more she hear about an app, the smarter mabl can be with the perceptivity she ’ s providing exploiter about the app 's quality. & nbsp;

mabl is solving hard job

End to end testing is difficult today (as it was in 2015 when Mike wrote his blog post). However, instead of replacing end to end with unit and integration tryout coverage, we believe we should fix end to end testing. We believe advancements in machine scholarship let us to both fix end to end testing and even go beyond what a human is able to do with test automation frameworks. We ’ ve be at this for 8 months and we ’ ve learned a lot along the way. We ’ ve solved some hard problems and still have many more to tackle. If you want to larn more,reserve your spotfor other access as we ’ re launching the service very soon. & nbsp;

End to end try with mabl

Quality Engineering Resources

Automate This With SUSA

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.

Try SUSA Free

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free