1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
Commit graph

18 commits

Author SHA1 Message Date
Pierre de La Morinerie
223e9efad8 test: remove snapshotting feature 2017-10-24 13:28:28 +05:30
Pierre de La Morinerie
e4710188d6 test: remove custom tests 2017-10-24 13:07:30 +05:30
Pierre de La Morinerie
d0930de6a6 test: fix LXC usage in test VM 2017-10-24 11:52:55 +05:30
Pierre de La Morinerie
4e028257b6 test: rename ynh-tests.local to ynh_tests.local
`ynh-dev` prefers when the box name has no dashes.
2017-10-23 19:34:50 +05:30
Pierre de La Morinerie
98659bd41e package_check: test more cases 2017-10-23 10:37:02 +05:30
Pierre de La Morinerie
6adb7c6d3e test: fix changes committed by mistake 2017-10-16 10:02:16 +05:30
Pierre de La Morinerie
e8c51d4715 scripts: use systemd rather than supervisor
Systemd is now the standard way of doing services in
Yunohost. It also avoids to install an extra dependency.

Fix #43
2017-10-16 09:05:21 +05:30
Pierre de La Morinerie
3fa1b46c73 test: use symlinked app directory directly
We used to copy the app content, to avoid the tests accidentally
mutating it.

But it makes it difficult to change the source code and having it
reflected inside the VM. Also Yunohost copies the app files itself
before executing scripts. So this should be more convenient and safe
enough.
2017-10-12 18:12:49 +05:30
Pierre de La Morinerie
7fc00fe0df test: don’t mix --verbose option with app names 2017-10-12 12:27:10 +05:30
Pierre de La Morinerie
9bc1c32fee test: replace usage of deprecated --ignore-hooks option 2017-10-12 12:21:06 +05:30
Pierre de La Morinerie
6b9a4359ff test: make provisioning a no-op if already configured properly 2017-10-12 11:32:50 +05:30
Pierre de La Morinerie
b7e3913fd7 tests: use a named backup 2017-10-11 16:30:25 +05:30
Pierre de La Morinerie
039ae2b1ab test: assert we can connect to the Mattermost front page 2017-10-11 16:30:25 +05:30
Pierre de La Morinerie
e4d568319d tests: enable package_check
For now only the linter is enabled.

LXC-based tests fail because the LXC can’t connect to the internet.
Maybe it can only run in the yunohost official vagrant box?
2017-09-12 16:35:09 +05:30
Pierre de La Morinerie
d0b367752a scripts: add restore script 2017-09-12 15:05:18 +05:30
Pierre de La Morinerie
74c9a8231e Vagrant: upgrade Yunohost before running tests 2017-09-12 15:05:18 +05:30
Pierre de La Morinerie
dc5e3c7177 Vagrant: use a pre-packaged Yunohost box
instead of installing Yunohost ourselves.
2017-09-11 19:21:21 +05:30
Pierre de La Morinerie
11dfb6b884 Add test.sh: run tests in a Vagrant box
For now the script setups a Vagrant box, and runs a simple
installlation test.

In the future it will also be able to run the package_test suite.
2017-09-11 12:53:22 +05:30