Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestCheckers ¶
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
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.
Click to show internal directories.
Click to hide internal directories.