Author: Akash Kumar

  • How to Use covdata for Better Go Code Coverage

    How to Use covdata for Better Go Code Coverage

    When you run your Go programs or integration tests, numbers of raw coverage files are typically generated and dumped into a directory specified by the GOCOVERDIR environment variable. These files contain valuable data about which parts of your code were executed during tests, offering a glimpse into your code’s effectiveness and robustness. However, sifting through…

    by

    in
  • Adding colour to the log output of logging libraries in Go

    Adding colour to the log output of logging libraries in Go

    Logging is an integral part of software development, providing developers with valuable insights into the behaviour and performance of their applications. In the Go programming language, various logging libraries, such as the standard library’s log package or third-party options like logrus , zap and zerolog, facilitate the generation of log output. While the primary goal…

    by

    in
  • Getting code coverage data for each request coming to a python web server

    Getting code coverage data for each request coming to a python web server

    In this blog, we will demonstrate how to get the code coverage data for each incoming request on a python web server built using any web framework. What is Code Coverage ? Code coverage is a metric used in software testing to measure the extent to which the source code of a program has been…

    by

    in