featuretests

package
v0.0.0-...-3d086f3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package featuretests contains functional tests only. Each feature-set of Juju should have it's own file in which all the happy-paths are tested.

Rules:

1) Do NOT mirror the architecture/namespaces of Juju. This should be a very flat folder.

2) Whenever possible, do not mock anything. The goal is to test the entire stack as well as can be done within a test suite.

3) Avoid writing tests that do not specifically address a user-facing feature. The place for that is in unit tests within Juju Core.

To run tests excluding the functional tests in this package, specify the "--featuretests=false" option:

go test github.com/juju/juju/... --featuretests=false

Jump to

Keyboard shortcuts

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