cynthia

package module
v0.0.0-...-9081009 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 7 Imported by: 0

README

Cynthia

This is a tool for TDD(Test Driven Development).

Cynthia ensures test-driven development. When you use it in CI, it ensures that untested methods are not introduced. The reason for this is that Cynthia alerts you to a function that has no tests.

derivation

The Greek pronunciation of the word συνήθεια, meaning habit, converted to the alphabet.

The most important thing in test-driven development is to make it a habit. By writing from the test first, you'll have a clean, easy-to-use function. We hope that you'll get into the habit of doing so. That's why I named it after this tool.

Getting Stated

How to Install

go get github.com/riita10069/cynthia/cmd/cynthia

Usage Example

go vet -vettool=`which cynthia` [package path]
go vet -vettool=`which cynthia` [package path1] [package path2] [package path3]

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "cynthia",
	Doc:  doc,
	Run:  run,
	Requires: []*analysis.Analyzer{
		inspect.Analyzer,
	},
}

Analyzer is ...

Functions

func IsTest

func IsTest(pass *analysis.Pass) bool

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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