Skip to content

anjanarv/go-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Testing Strategies

This repo is to cover everything on Go testing from a simple unit testing function to using more complex strategies that can be used in Go testing. The repo includes different modes of Go testing - benchmark testing to check the performance of the code, fuzz testing to identify the edge cases, table driver tests to keep the tests DRY etc

Usage

Below command performs the formatting, linting and runs the tests

make check

Below command runs the coverage and creates a report

make coverage

About

Go testing strategies

Topics

Resources

Stars

Watchers

Forks