command
module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jan 29, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
dokimi
Dokimi provides some helper commands for testing in Go.
Table of Contents
Installation
go install github.com/farbodsalimi/dokimi@latest
Commands
report
Usage:
dokimi report [flags]
Flags:
-h, --help help for report
-i, --input string Path to input file
-o, --output string Path to output file
-r, --reporter string Reporter name e.g. istanbul, lcov, ...
--show Shows written reports
Write Istanbul json reports and display them
-
Go inside your project directory and run your tests:
go test -v -coverprofile=coverage.out ./...
-
Show your coverage in Istanbul UI:
dokimi report --input=coverage.out --output=coverage.json --reporter=istanbul --show
Only write Istanbul json reports
-
Go inside your project directory and run your tests:
go test -v -coverprofile=coverage.out ./...
-
Generate Istanbul json file:
dokimi report --input=coverage.out --output=coverage.json --reporter=istanbul
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
internal
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.