tests/functional_tests/shell/unit_tests.sh
#!/bin/bash
############
# Purpose: Unit tests for functional tests
# Authors: Ankshit Jain
# Dependencies: bats (https://github.com/sstephenson/bats)
# Date : 13-March-2018
# Previous Versions: -
# Invocation: $bash website_load.sh
###########
# All variables that are exported/imported are in upper case convention. They are:
# TESTDIR : name for the temporary directory where tests will be run
set -ex
cd ../test_modules
TESTDIR='unit_tests'
export TESTDIR
TYPE_OF_TEST='functional' $BATS bats/unit_tests.bats