this repo contains the testing that is done for the project Deep Copy Submodules
You need to install bats-core
you need to create the reports: toggle this comment in ini_parser_caller#create_test_output
you can run the unit tests with:
bats *.bats
or if you want a more pretty output (experimental)
# if you toggle one param '-s' it creates also an report file
# if you toggle also param'-p' it creates a pretty segmented unit testing report
bash run_all_tests.sh [-s -p]Use the caller of the sub units for debugging purposes
You can also have integration tests.
Therefore you need to copy the integration test config to "~/integration_test.conf". You can also toggle if the integration test helper contains your passwords in this conf or not.
You can also use the interactive mode and select the method you want to test.
# param '-s' make a silent integration test helper for your needed testing commands
# otherwise: interactive mode
bash integration_test.sh [-s]see Testcoverage
Distributed under the GPL version 3. See LICENSE for more information.
Images are licensed under the License Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)
