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. github.com/juju/testing/checkers
  2. github.com/juju/juju/testing/factory
  3. github.com/juju/juju/cmd/juju/metricsdebug
  4. github.com/juju/juju/juju/testing
  5. github.com/juju/juju/testing
  6. github.com/gosuri/uitable
  7. github.com/juju/cmd/cmdtesting
  8. github.com/juju/juju/state
  9. gopkg.in/check.v1

Test imports 72 package(s)

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