O'Reilly logo

Level Up Your Web Apps With Go by Mal Curtis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9Automated Testing

For a long time in the web development world, automated testing was unlikely to be part of a developers’ toolkit. Nowadays, a test suite is an integral part of most successful projects, libraries, and frameworks. An automated test suite is a series of tests that can be run to ensure that the business logic of your code is behaving as it should. There are a variety of test types: from checking the end-to-end processes of your code, to simply testing that a single function or method does as it’s supposed to. In this chapter, we’ll look at the tools that Go provides out of the box for writing and running a test suite.

Writing tests at the start of a project is a great way to explore the requirements of a set piece of work, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required