featuretests

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

This package 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/DavinZhang/juju/... --featuretests=false

Jump to

Keyboard shortcuts

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