<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Sumit Saha</title>
    <description>The latest articles on Forem by Sumit Saha (@sumit_saha_9b0fc451bb8585).</description>
    <link>https://forem.com/sumit_saha_9b0fc451bb8585</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3301163%2Fa15d9279-ab85-4f28-9741-c4058ae7db46.png</url>
      <title>Forem: Sumit Saha</title>
      <link>https://forem.com/sumit_saha_9b0fc451bb8585</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sumit_saha_9b0fc451bb8585"/>
    <language>en</language>
    <item>
      <title>🚀 From Zero to Test Hero: My Journey with API Testing, Keploy &amp; CI/CD Integration</title>
      <dc:creator>Sumit Saha</dc:creator>
      <pubDate>Fri, 27 Jun 2025 18:08:40 +0000</pubDate>
      <link>https://forem.com/sumit_saha_9b0fc451bb8585/from-zero-to-test-hero-my-journey-with-api-testing-keploy-cicd-integration-158g</link>
      <guid>https://forem.com/sumit_saha_9b0fc451bb8585/from-zero-to-test-hero-my-journey-with-api-testing-keploy-cicd-integration-158g</guid>
      <description>&lt;p&gt;Hey Devs! 👋&lt;/p&gt;

&lt;p&gt;In this post, I’ll walk you through my hands-on experience building and testing a small Node.js API server from scratch. As part of an assignment, I explored unit testing, integration testing, API testing using AI (Keploy), and even CI/CD integration with GitHub Actions.&lt;/p&gt;

&lt;p&gt;💡 What I Built&lt;br&gt;
I created a simple Task Manager API using:&lt;/p&gt;

&lt;p&gt;Node.js + Express&lt;/p&gt;

&lt;p&gt;SQLite (via better-sqlite3)&lt;/p&gt;

&lt;p&gt;Jest &amp;amp; Supertest for testing&lt;/p&gt;

&lt;p&gt;✅ What I Learned&lt;br&gt;
How to write unit tests for app logic with and without mocking the DB.&lt;/p&gt;

&lt;p&gt;How to implement integration tests to validate DB interaction.&lt;/p&gt;

&lt;p&gt;How to use Keploy for AI-powered API testing using OpenAPI + curl logs.&lt;/p&gt;

&lt;p&gt;How to automate tests in a CI/CD pipeline with GitHub Actions.&lt;/p&gt;

&lt;p&gt;How automated tools like Keploy save hours of manual test writing!&lt;/p&gt;

&lt;p&gt;⚙️ Tech Stack&lt;br&gt;
Backend: Node.js, Express&lt;/p&gt;

&lt;p&gt;Database: better-sqlite3&lt;/p&gt;

&lt;p&gt;Testing: Jest, Supertest, Keploy&lt;/p&gt;

&lt;p&gt;CI/CD: GitHub Actions&lt;/p&gt;

&lt;p&gt;📊 Achievements&lt;br&gt;
Over 90% test coverage&lt;/p&gt;

&lt;p&gt;Fully working GitHub Actions pipeline for every push&lt;/p&gt;

&lt;p&gt;Keploy test report screenshot added in the README!&lt;/p&gt;

&lt;p&gt;🧠 AI + DevOps is the future, and tools like Keploy make it super easy to reach 100% coverage in minutes — without writing every test manually.&lt;/p&gt;

</description>
      <category>keploy</category>
      <category>devops</category>
      <category>ci</category>
    </item>
  </channel>
</rss>
