linttest

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestCheckers

func TestCheckers(t *testing.T)

TestCheckers runs end2end tests over all registered checkers using default options.

TODO(Quasilyte): document default options. TODO(Quasilyte): make it possible to run tests with different options.

func TestIntegration added in v0.5.1

func TestIntegration(t *testing.T)

TestIntegration runs linter integration tests using default options.

Types

type IntegrationTest added in v0.5.1

type IntegrationTest struct {
	// Packages list which packages tested linter should import.
	Packages []string

	// Dir specifies a path to integration tests.
	Dir string
}

IntegrationTest specifies integration test options.

func (*IntegrationTest) Run added in v0.5.1

func (cfg *IntegrationTest) Run(t *testing.T)

Run executes integration tests.

Jump to

Keyboard shortcuts

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