Pierre de La Morinerie
6944cda537
tests: use more recent Yunohost box
2020-02-09 01:04:46 +01:00
Pierre de La Morinerie
484cd42279
test: cache source archive
2017-10-24 18:02:52 +05:30
Pierre de La Morinerie
080364503b
test: remove package_check lock on abort
2017-10-24 16:58:39 +05:30
Pierre de La Morinerie
45e0de61ae
test: remove unused environment variables
2017-10-24 13:37:17 +05:30
Pierre de La Morinerie
7d73bb7c90
test: remove useless --build-lxc
option
...
We build the LXC container during the provisionning phase
anyway.
2017-10-24 13:37:01 +05:30
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