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

Capture environment variables 💯🎉 #41

Merged
merged 2 commits into from
Mar 8, 2018
Merged

Conversation

mausworks
Copy link
Owner

I had forgot to include an entire feature in the project, but it wasn't until the last percent of line coverage that I recognized that it was missing. Thanks codecov!— or code coverage tools in general, I suppose.

This PR includes capturing of environment variables from the static Environment object. It also sanitizes them, just … in case you have some dirty secrets hidden in … your environment variables? 🤷‍♂️

And of course, for realzies this time: 100% code coverage. 🎉

@mausworks mausworks added the enhancement New feature, optimization, tests, etc ... label Mar 8, 2018
@codecov-io
Copy link

Codecov Report

Merging #41 into master will increase coverage by 0.18%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #41      +/-   ##
========================================
+ Coverage   99.81%   100%   +0.18%     
========================================
  Files          35     35              
  Lines         527    533       +6     
========================================
+ Hits          526    533       +7     
+ Misses          1      0       -1
Impacted Files Coverage Δ
src/Pidget.AspNet/Sanitizing/RequestSanitizer.cs 100% <100%> (ø) ⬆️
src/Pidget.AspNet/RequestDataProvider.cs 100% <100%> (ø) ⬆️
src/Pidget.Client/DataModels/RequestData.cs 100% <0%> (+14.28%) ⬆️

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 48464f6...7acd260. Read the comment docs.

@mausworks mausworks merged commit 2550b41 into master Mar 8, 2018
@mausworks mausworks deleted the feature/capture-env-vars branch March 8, 2018 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, optimization, tests, etc ...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants