juju: github.com/juju/juju/featuretests Index | Files

package featuretests

import "github.com/juju/juju/featuretests"

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

Index

Package Files

cmd_juju_metrics.go doc.go

Package featuretests imports 9 packages (graph). Updated 2019-10-17. Refresh now. Tools for package owners.