top

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

Imports 9 package(s)

  1. gopkg.in/check.v1
  2. github.com/juju/juju/state
  3. github.com/gosuri/uitable
  4. github.com/juju/juju/testing
  5. github.com/juju/juju/testing/factory
  6. github.com/juju/testing/checkers
  7. github.com/juju/juju/cmd/juju/metricsdebug
  8. github.com/juju/cmd/cmdtesting
  9. github.com/juju/juju/juju/testing

Test imports 69 package(s)

  1. github.com/juju/juju/environs/testing
  2. gopkg.in/macaroon-bakery.v1/bakery
  3. github.com/juju/juju/api
  4. github.com/juju/juju/worker/upgrader
  5. github.com/juju/juju/juju/names
  6. github.com/juju/juju/state/bakerystorage
  7. github.com/juju/juju/tools
  8. github.com/juju/juju/upgrades
  9. gopkg.in/macaroon.v1
  10. github.com/juju/juju/watcher/watchertest
  11. github.com/juju/utils/packaging/manager
  12. github.com/juju/juju/cmd/jujud/agent
  13. github.com/juju/juju/api/block
  14. github.com/juju/juju/api/watcher
  15. github.com/juju/juju/status
  16. github.com/juju/juju/api/base
  17. github.com/juju/juju/feature
  18. github.com/juju/utils/os
  19. github.com/juju/version
  20. github.com/juju/utils/arch
  21. github.com/juju/juju/worker/upgradesteps
  22. github.com/juju/juju/cloud
  23. github.com/juju/juju/jujuclient
  24. github.com/juju/juju/api/meterstatus
  25. github.com/juju/juju/worker/logsender
  26. github.com/juju/juju/api/imagemetadata
  27. github.com/juju/juju/apiserver/params
  28. github.com/juju/loggo
  29. github.com/juju/persistent-cookiejar
  30. github.com/juju/juju/api/modelmanager
  31. github.com/juju/juju/api/undertaker
  32. github.com/juju/juju/juju/osenv
  33. github.com/juju/juju/storage/provider
  34. github.com/juju/juju/cmd/jujud/dumplogs
  35. github.com/juju/juju/rpc
  36. gopkg.in/yaml.v1
  37. gopkg.in/macaroon-bakery.v1/httpbakery
  38. github.com/juju/utils
  39. github.com/juju/juju/api/cloud
  40. github.com/juju/juju/provider/dummy
  41. github.com/juju/juju/core/description
  42. github.com/juju/juju/api/annotations
  43. github.com/juju/juju/cmd/jujud/util
  44. github.com/juju/juju/worker/peergrouper
  45. github.com/juju/juju/agent
  46. github.com/juju/juju/cmd/jujud/agent/agenttest
  47. github.com/juju/juju/storage/poolmanager
  48. github.com/juju/cmd
  49. github.com/juju/juju/juju
  50. gopkg.in/mgo.v2/bson
  51. gopkg.in/juju/names.v2
  52. github.com/juju/juju/constraints
  53. github.com/juju/utils/series
  54. github.com/juju/testing
  55. github.com/juju/juju/cmd/juju/model
  56. gopkg.in/mgo.v2
  57. github.com/juju/juju/network
  58. github.com/juju/errors
  59. github.com/juju/juju/cert
  60. github.com/juju/juju/instance
  61. github.com/juju/juju/mongo
  62. github.com/juju/juju/permission
  63. gopkg.in/juju/charm.v6-unstable
  64. gopkg.in/yaml.v2
  65. github.com/juju/juju/state/watcher
  66. github.com/juju/rfc/rfc5424/rfc5424test
  67. github.com/juju/juju/cmd/juju/commands
  68. github.com/juju/juju/version
  69. github.com/juju/juju/cmd/juju/application