Build the future of communications.
Start Building for Free
  • By Michelle Tran
    Unit, Integration, and End-to-End Testing: What’s the Difference? Unit, Integration, and End-to-End Testing: What's the Difference? Michelle Tran, SWE Intern

    So you’ve written your code and it worked when you ran it – what’s next? When it comes to user-facing code, “running the code once and it worked” isn’t going to cut it. That’s why writing tests for your code is essential: testing ensures your code remains reliable even as you change it. However, there are so many different types of software tests – what testing options are out there, and how do you choose which ones to use?

    In this post, you will learn about key testing types (unit, integration, and E2E tests) and the high level differences between them.

    Unit, Integration, E2E Testing pyramid portrays relative amounts of each test type in a code base

    TL;DR on Environments

    Before we can dive into different test types, we have to understand the various environments we can run code in.

    • Local: this is on your own device. Nobody is accessing/interacting with the code except you.
    • Dev: sometimes people skip this environment. It’s basically a shared, hosted …
    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.