test(aws-provider): First tests (#1231)

* test(pre-commit): Include security checks

* test(pre-commit): Include dependencies

* test(aws-provider): First unit tests

* test(arn-parsing): Include first tests

* chore(providers): Remove old comments
This commit is contained in:
Pepe Fagoaga
2022-07-04 12:51:31 +02:00
committed by GitHub
parent 11652838e2
commit b2899bda69
9 changed files with 759 additions and 216 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
.DEFAULT_GOAL:=help
test: ## Test with pytest
pytest -v
coverage: ## Show Test Coverage
coverage run --skip-covered -m pytest -v && \
coverage report -m && \
rm -rf .coverage
##@ Help
help: ## Show this help.
@echo "Prowler Makefile"
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)