Simple play icon Course

Testing Go Applications

by Mike Van Sickle

In this course, you'll get an overview of Go's testing landscape and learn how to test and profile your own applications.

What you'll learn

Today's software applications are addressing an increasingly challenging set of problems. Meanwhile, the consumers of those applications have little tolerance for bugs and poor performance. In this challenging environment, automated tests have become a vital tool to ensure that applications are correct and performant. In this course, Testing Go Applications, you'll gain the ability to create automated test suites for your Go applications. First, you'll learn how to create assertion-style tests, commonly used in unit, integration, and end-to-end test suites. Next, you'll discover how to add performance benchmark tests to your critical code paths to ensure that your users aren't waiting any longer than necessary. Finally, you'll explore how to use your test suites to gather profiling information about how system resources are being utilized to identify inefficiencies and performance bottlenecks. When you're finished with this course, you'll have the skills and knowledge of testing in Go needed to meet your customers expectations for quality and performance.

About the author

Michael Van Sickle is an application architect in Akron, Ohio. He started his career as a mechanical engineer, designing components for the automotive industry, before changing to software engineering. He is passionate about learning new programming languages and is comfortable working in Java, C#, JavaScript, PHP, and F#. Mike also loves learning about user experience design and is taking a lead role in his company's attempt to make applications that are elegant and simple. When he i... more

Ready to upskill? Get started