From a3bc880a08fe52de607ccd5c72800b8d1104ecfc Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 23 Apr 2018 15:38:39 -0700 Subject: 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 Issue-ID: INT-480 --- tests/test_integration | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 tests/test_integration (limited to 'tests/test_integration') 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[@]}" -- cgit 1.2.3-korg