Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Unit Test Cloudformation Templates #5

Merged
merged 15 commits into from
Dec 14, 2020
Merged

Conversation

shadycuz
Copy link
Member

@shadycuz shadycuz commented Dec 7, 2020

This PR adds the ability to test a Cloudformation Template without deploying it. It currently only supports YAML templates but support for JSON should be easy to add. I have also not implemented all the Cloudformation intrinsic functions or pseudo variables but they too should be easy to add in a manner that will work for 95% of use cases.

@shadycuz shadycuz changed the base branch from master to develop December 7, 2020 13:27
@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #5 (479b5c2) into develop (36bdf00) will increase coverage by 0.76%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop       #5      +/-   ##
===========================================
+ Coverage    98.71%   99.47%   +0.76%     
===========================================
  Files            3        5       +2     
  Lines           78      192     +114     
  Branches         8       35      +27     
===========================================
+ Hits            77      191     +114     
  Partials         1        1              
Impacted Files Coverage Δ
src/cloud_radar/unit_test/__init__.py 100.00% <100.00%> (ø)
src/cloud_radar/unit_test/template.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 36bdf00...479b5c2. Read the comment docs.

@shadycuz shadycuz added the minor A new feature has been added. label Dec 14, 2020
@shadycuz shadycuz merged commit 8a2a6b9 into develop Dec 14, 2020
@shadycuz shadycuz deleted the feat/unit_testing branch December 14, 2020 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor A new feature has been added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant