Skip to Main Content
Level Up Your Web Apps With Go
book

Level Up Your Web Apps With Go

by Mal Curtis
April 2015
Intermediate to advanced content levelIntermediate to advanced
260 pages
5h 17m
English
SitePoint
Content preview from Level Up Your Web Apps With Go

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, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Go: Building Web Applications

Go: Building Web Applications

Nathan Kozyra, Mat Ryer

Publisher Resources

ISBN: 9781457192845Errata Page