pre-commit-terraform icon indicating copy to clipboard operation
pre-commit-terraform copied to clipboard

chore: Add unit tests

Open MaxymVlasov opened this issue 2 years ago β€’ 4 comments

Put an x into the box if that apply:

  • [ ] This PR introduces breaking change.
  • [ ] This PR fixes a bug.
  • [ ] This PR adds new functionality.
  • [x] This PR enhances existing functionality.

Description of your changes

Closes #303

How can we test changes

  1. Download shunit2 from https://github.com/kward/shunit2
  2. Add shunit2 to PATH
  3. cd to pre-commit-terraform/tests/shunit2
  4. Run ./_common_test.sh

Summary by CodeRabbit

  • Tests
    • Added new automated tests to verify command line argument parsing and environment variable handling in shell scripts.

MaxymVlasov avatar Jan 27 '23 20:01 MaxymVlasov

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

github-actions[bot] avatar Feb 27 '23 00:02 github-actions[bot]

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

github-actions[bot] avatar Mar 30 '23 00:03 github-actions[bot]

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

github-actions[bot] avatar Apr 30 '23 00:04 github-actions[bot]