/deep_copy_submodules_test

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Deep Copy Submodules Testing

Logo

this repo contains the testing that is done for the project Deep Copy Submodules

Prerequisites

You need to install bats-core

Testing Ini Parser

you need to create the reports: toggle this comment in ini_parser_caller#create_test_output

Test Methods

Unit Testing

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]

Manual

Use the caller of the sub units for debugging purposes

Integration Tests

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]

TestCoverage

see Testcoverage

License

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)