https://github.com/blackstareye/deep_copy_submodules_test
https://github.com/blackstareye/deep_copy_submodules_test
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blackstareye/deep_copy_submodules_test
- Owner: Blackstareye
- License: gpl-3.0
- Created: 2021-04-04T23:06:57.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T00:06:39.000Z (about 4 years ago)
- Last Synced: 2023-10-18T17:46:51.375Z (over 1 year ago)
- Language: Shell
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deep Copy Submodules Testing
![]()
this repo contains the testing that is done for the project [Deep Copy Submodules](todo)
## Prerequisites
You need to install [bats-core](https://github.com/bats-core/bats-core)
### Testing Ini Parser
you need to create the reports:
toggle this comment in [ini_parser_caller](manual/ini_parser_caller.sh)#create_test_output## Test Methods
### Unit Testing
you can run the unit tests with:
```bash
bats *.bats```
or if you want a more pretty output (experimental)
```bash
# 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](integration_test/integration_test.conf) 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.
```bash
# param '-s' make a silent integration test helper for your needed testing commands
# otherwise: interactive mode
bash integration_test.sh [-s]
```## TestCoverage
see [Testcoverage](testcoverage.md)
## 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)](https://creativecommons.org/licenses/by-nc-nd/4.0/)