Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Speeding up testing for local development

In this section, we will be covering a couple of approaches to accelerating testing when working locally. Just to clarify, I am assuming that you already have a proper CI infrastructure in place; no matter what shortcuts we will be taking here, the CI will always run all the tests.

The first item on our agenda is slow versus fast tests. For the sake of argument, say that we find ourselves in a situation where we are writing a fully-fledged, pure CPU ray tracer implementation in Go. To ensure correctness and avoid regressions while we are tweaking our implementation, we have introduced a test suite that renders a sequence of example scenes and compares the ray tracer output to a series of prerendered ...

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

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content