Commit Graph

28 Commits

Author SHA1 Message Date
Joe Guo 35beb586da Migrate functional tests from Amulet to Zaza
Migrate glance tests from Amulet to Zaza, which is Python3 only.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/50

Partial-Bug: 1828424

Change-Id: I053a056d8e2a79ed22ea8a976a8f378994b1e8eb
Signed-off-by: Joe Guo <guoqiao@gmail.com>
2019-09-10 14:48:18 +12:00
Liam Young e94cfbfd7e Tests dir no longer need copy of charmhelpers
Charmhelpers is now installed via pip for unit tests so stop
'Make sync' from pulling it down.

Change-Id: I39dd097e962cd307e865808d137a4f99113ce020
2018-10-10 12:40:21 +00:00
Frode Nordahl d235201b08 Update repo to do ch-sync from Git
Change-Id: I168da6bc248554e4e8df28e5c5ce2286365073df
2017-09-26 10:21:09 +02:00
Ryan Beisner 0b58504e87 Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-*, dev-* and dfs-*
naming standards.

Update README to refer to functional testing section of the charm
guide.

Change-Id: I1ee38355112d8c5062340546bd01b1cce6593a3f
2016-07-19 03:39:17 +00:00
Billy Olsen 783cdd2dc5 Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.

Change-Id: I8f812b70050b0ae1638e4f77bb29054997054854
2016-03-15 20:12:40 -07:00
Ryan Beisner d82bc13b05 Move 00-setup to prevent extra, unnecessary bootstrap in test runs. 2016-01-08 21:44:53 +00:00
Ryan Beisner 4d4b7c6e42 update makefile unit test target 2015-10-06 14:40:34 +00:00
Ryan Beisner d22a627adb update tests 2015-06-30 20:43:41 +00:00
Ryan Beisner f4baf629a0 auto Makefile test target (amulet): bump juju test timeout to 2700s (same value as the juju-deployer default). Also remove explicit test names, which will cause all +x files in ./tests to be executed (as bundletester does by default). 2015-04-16 21:32:02 +00:00
Ryan Beisner 0311258a7d auto add AMULET_OS_VIP to preserved env vars in makefile 2015-04-16 21:31:53 +00:00
Corey Bryant 88012d92f9 Overall refresh to current install from source approach 2015-03-21 01:36:16 +00:00
Corey Bryant 8820389952 Amulet test fixes:
* Makefile: Only run precise-icehouse and trusty-icehouse tests by default
    and increase test timeout
  * t/00-setup: Add more required dependencies
  * t/README: Mention charm-tools dependency
  * t/basic_deployment.py:
    - Specify unstable charm deployment
    - Use dicts in add_services
    - Rename restart test
    - Only set one config option for restart test
    - Cleanup on test failure
2014-10-08 20:18:38 +00:00
James Page 2a221767f8 Rebase 2014-07-25 10:37:25 +01:00
James Page 8fe6864732 [1chb1n,r=james-page,t=james-page] Add amulet tests. 2014-07-18 10:45:47 +01:00
Ryan Beisner 3a6163e389 add basic file-backed glance amulet charm tests 2014-07-11 14:11:03 +00:00
James Page 8b9f4a4ba9 resync helpers 2014-07-02 09:09:03 +01:00
Ryan Beisner d3f7772320 Move charm-helpers.yaml to charm-helpers-hooks.yaml, add charm-helpers-tests.yaml, update Makefile sync target. 2014-06-24 19:54:45 +00:00
James Page 10b20172c3 [trivial] Ensure lint and test pass before publish 2014-05-21 11:13:31 +01:00
James Page 9163d9040a [niedbalski] Force use of http for key imports 2014-05-02 10:42:14 +01:00
James Page 5263434412 [yolanda] Add postgresql support
Refactor templates for includes
2014-03-31 12:29:37 +01:00
James Page 39af9a948d Add all target to Makefile, echo annotate lint check 2013-11-08 09:40:58 +08:00
James Page 82444d2e19 more unit testing 2013-10-19 22:01:07 +01:00
James Page 5c212bc3f9 Misc fixes 2013-09-26 10:47:58 +01:00
James Page 88bc369e69 Renamed tests->unit_tests, updated as appropriate, re-synced charm-helpers 2013-09-20 16:52:45 +01:00
Andres Rodriguez 8e8258dfb6 Add coveragerc 2013-08-14 18:36:19 -04:00
Andres Rodriguez 2de0628f30 Add initial tests and make a few related fixes to the charm 2013-08-09 14:45:02 -04:00
Andres Rodriguez 8d25c33863 Drop unnecessary lines of code 2013-07-11 10:17:30 -04:00
Andres Rodriguez 3b174210ba Add Makefile 2013-07-10 13:20:55 -04:00