📖 Go Fiber by Examples: Testing the application

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Fiber

    ⚡️ Express inspired web framework written in Go

  • In this third article (or chapter), we will review the topic of the Fiber application testing for beginners on real example.

  • Testify

    A toolkit with common assertions and mocks that plays nicely with the standard library

  • We will use both the features built into the language and the framework for testing and some third-party tools. For example, the very popular Go testing package Testify.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Visual Studio Code

    Visual Studio Code

  • If you write code in VS Code with the Go tools plugin (like me 😋), it has a built-in generator for unit-tests that generates a starting template for testing a particular function:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts