github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/featuretests/doc.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  /*
     5  This package contains functional tests only. Each feature-set of
     6  Juju should have it's own file in which all the happy-paths are
     7  tested.
     8  
     9  Rules:
    10  
    11  1) Do NOT mirror the architecture/namespaces of Juju. This should be a
    12  very flat folder.
    13  
    14  2) Whenever possible, do not mock anything. The goal is to test the
    15  entire stack as well as can be done within a test suite.
    16  
    17  3) Avoid writing tests that do not specifically address a user-facing
    18  feature. The place for that is in unit tests within Juju Core.
    19  
    20  To run tests excluding the functional tests in this package, specify
    21  the "--featuretests=false" option:
    22  	go test github.com/juju/juju/... --featuretests=false
    23  */
    24  package featuretests