First version of tests

This commit is contained in:
Bruno Sutic committed 2014-07-17 20:36:54 +02:00
1 parent 2e8f2aa0cd
commit 45cd3d40fa
9 files changed
+243

No files matched your search

Executable
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
run_vagrant() {
vagrant up --provider=docker
}
stop_vagrant() {
vagrant destroy -f
}
run_tests() {
# actually this test file should be run inside vagrant
$CURRENT_DIR/tests/test_plugin_installation.sh
}
main() {
run_vagrant
run_tests
stop_vagrant
}
main