Recently, I was tasked with creating an automated testing tool for Fugue. Fugue monitors cloud resources for compliance and security, and we needed a way to verify that the full results of a Fugue scan were correct. My goal was to create an automated system that runs locally or in CI, deploys configurable infrastructure, scans it using Fugue,.
Fugue performs more than 100 million policy validations a day in order to identify compliance violations for cloud infrastructure environments at scale. These policy-as-code validations are written in Rego, the policy language for the Open Policy Agent (OPA) engine. To enhance the process of writing and debugging Rego policies, we recently.
By the end of this blog post, you should be able to:
- Look over parts of your code where you'd like to add unit tests.
- Understand how to break your code into.
Testing is the process of executing a program or system with the intent of finding errors.
— Glenford Myers, The Art of Software Testing, 1979
Testing is any activity aimed at evaluating an attribute of a program or system. Testing is the measurement of software quality.
— Bill Hetzel, The Complete Guide to Software Testing, 1983
PLEASE NOTE: As of February 2018, Emulambda is not actively maintained by Fugue.
When Python support was announced for AWS Lambda at re:Invent, we were excited to start using it. As you could see with our emoji-powered Votebot for Slack, we put it to quick use, converting our skirmishes about lunch orders into a peaceful, democratic process.