summaryrefslogtreecommitdiffstats
path: root/tests/test_integration
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-04-23 15:38:39 -0700
committerVictor Morales <victor.morales@intel.com>2018-04-23 15:38:39 -0700
commita3bc880a08fe52de607ccd5c72800b8d1104ecfc (patch)
tree0c123c05f90e4369b33731b876097a7e9e414fda /tests/test_integration
parent53c52795b9008893dbf5739dfdafbaf100fa81ef (diff)
Add Integration script
It was included the script to provides a development environment for integration project. This environment can help to quickly run integration tests. Change-Id: I04bff61fbe7589b5ecda782df6a4cb0fddf1b3e2 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-480
Diffstat (limited to 'tests/test_integration')
-rwxr-xr-xtests/test_integration23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/test_integration b/tests/test_integration
new file mode 100755
index 0000000..7032788
--- /dev/null
+++ b/tests/test_integration
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+source /var/onap_tests/_test_base
+source /var/onap/integration
+
+covered_functions=(
+"clone_integration_repos"
+)
+
+# test_clone_integration_repos() - Verify that Integration repositories are cloned properly
+function test_clone_integration_repos {
+ clone_repos "integration"
+
+ asserts_file_exist ${src_folders[integration]}/README.md
+ asserts_file_exist ${src_folders[integration]}/devtool/LICENSE
+ #asserts_file_exist ${src_folders[integration]}/seccom/
+}
+
+if [ "$1" != '*' ]; then
+ unset covered_functions
+ covered_functions=$1
+fi
+main "${covered_functions[@]}"