estimatenecessarytests

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 7 Imported by: 1

README

Estimate necessary tests

install

Run below command

$ go install github.com/lkeix/estimate-necessary-tests/cmd/estimate-necessary-tests@latest

how to use

$ estimate-necessary-tests

OR

$ estimate-necessary-tests -path=/path/to/project

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASTLoader

type ASTLoader struct {
	Asts map[string]*ast.File
	// contains filtered or unexported fields
}

func NewASTLoader

func NewASTLoader(path string, includeTest bool) *ASTLoader

func (*ASTLoader) Load

func (a *ASTLoader) Load(parseMode parser.Mode) error

type Calculator

type Calculator struct {
	Result map[string]int64
}

func NewCalculator

func NewCalculator() *Calculator

func (*Calculator) Calculate

func (c *Calculator) Calculate(node *ast.File)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL