Title: Hi HN, we’re Royal and Vedant, co-founders of CodeParrot (<a href="https:&#x2F;&#x2F;www.codeparrot.ai&#x2F;">https:&#x2F;&#x2F;www.codeparrot.ai&#x2F;</a>). CodeParrot automates API testing so developers can speed up release cycles and increase test coverage. It captures production traffic and database state to generate test cases that update with every release.<p>Here’s a short video that shows how it works: <a href="https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;dd6c12e23ceb43f587814a2fbc165c1f" rel="nofollow">https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;dd6c12e23ceb43f587814a2fbc165c1f</a> .<p>As managers of engineering teams (I was CTO of an ed-tech startup, Vedant was the founding engineer of a unicorn company) both of us faced challenges in enforcing high test coverage. We ended up relying a lot on manual testing but it became hard to scale, and led to reduced velocity and higher production bugs. This motivated us to build CodeParrot.<p>How it works: we auto-instrument backend services to capture production traffic. Requests and responses coming to your backend service, as well as the downstream calls made by it like DB calls are stored. As part of your CI pipeline, we replay the captured requests whenever your service is updated. The responses are compared with the responses from production env and regressions are highlighted to the developers. To ensure that the same codebase gives the same response in CI environment and production, we mock all downstream calls with the values from production.<p>Most tools to record and replay production traffic for the purpose of testing capture traffic on the network layer (as sidecar or through load balancer), CodeParrot instead relies on an instrumentation agent (built on top of OpenTelemetry) to capture traffic, enabling us to capture downstream request&#x2F;response like database responses which are otherwise encrypted on network layer. This helps us mock downstream calls and compare the response from CI environment vs production environment. Additionally, this helps us sample requests based on code flow and downstream responses which provide better test coverage compared to just relying on API headers &amp; parameters.<p>Our self-serve product will be out in a few weeks. Meanwhile, we can help you integrate CodeParrot, please reach out at royal@codeparrot.ai or you can choose a slot here - <a href="https:&#x2F;&#x2F;tidycal.com&#x2F;royal1&#x2F;schedule-demo" rel="nofollow">https:&#x2F;&#x2F;tidycal.com&#x2F;royal1&#x2F;schedule-demo</a>. We’ll be selling CodeParrot via a subscription model but the details are TBD. In addition, we will be open sourcing the project soon.<p>If you’ve already tried or are thinking of using tools in this space, we’d love to hear your experience and what you care about most. We look forward to everyone’s comments!
Upvote: