# Building Maintainable E2E Tests for Backend APIs with Go's go test

DevFeed: [Building Maintainable E2E Tests for Backend APIs with Go's go test](<https://devfeed.tech/articles/e2e-tests-every-developer-can-write-test-platform-built-with-plain-go-test-56774.md>)

Original publisher: [Read original article](<https://engineering.mercari.com/en/blog/entry/20251016-e2e-tests/>)

Author: Ryotarai

Published: 2025-10-17T11:19:28Z

Content type: article

Language: en

Sources: [Mercari Engineering](<https://devfeed.tech/sources/mercari-engineering.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [test](<https://devfeed.tech/topics/test.md>), [API](<https://devfeed.tech/topics/api.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [backend](<https://devfeed.tech/tags/backend.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [developer](<https://devfeed.tech/tags/developer.md>), [e2e](<https://devfeed.tech/tags/e2e.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [go](<https://devfeed.tech/tags/go.md>), [go-test](<https://devfeed.tech/tags/go-test.md>), [ide](<https://devfeed.tech/tags/ide.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

This article explains how Mercari built an end-to-end testing foundation for backend APIs in its Global App project. It describes the challenges of conventional E2E testing and the goal of enabling all developers to maintain tests, then outlines the choice to write tests as ordinary Go code using go test for low learning cost, type safety, and IDE support.

## Source excerpt

Introduction Hi! My name is @ryotarai, and I'm responsible for SRE & Enabling for Crossborder (XB) Engineering. As part of the series, Behind the Scenes of Developing Mercari's First Global App, "Mercari Global App," this post takes a deep dive into end-to-end (E2E) testing for the project's backend APIs. Specifically, I'll share how we built [...]