From e70fbaa787cf27c85a0d56a1ae1036d8b7b285ee Mon Sep 17 00:00:00 2001 From: skools-here Date: Thu, 1 Jan 2026 17:07:53 +0530 Subject: [PATCH 1/6] creating and styling 404 page Signed-off-by: skools-here --- src/pages/404.js | 43 +++++++++++++++++++++++ src/pages/styles.module.css | 68 ++++++++++++++++++++++++++++++++++++- 2 files changed, 110 insertions(+), 1 deletion(-) create mode 100644 src/pages/404.js diff --git a/src/pages/404.js b/src/pages/404.js new file mode 100644 index 000000000..4a050bb64 --- /dev/null +++ b/src/pages/404.js @@ -0,0 +1,43 @@ +import Layout from "@theme/Layout"; +import Link from "@docusaurus/Link"; +import styles from "./styles.module.css"; +import useBaseUrl from "@docusaurus/useBaseUrl"; + +export default function Custom404() { + return ( + +
+
+

Oops! 404

+

Not Found...

+ +

+ Looks like you've wandered off the beaten path. Our team is working + to get you back on track and find what you're looking for. +

+ +
+ + Back To Home + + + +
+
+ +
+ Keploy logo +
+
+
+ ); +} diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css index bae51321e..b28edaf42 100644 --- a/src/pages/styles.module.css +++ b/src/pages/styles.module.css @@ -159,4 +159,70 @@ .announcementInner { margin: 0 auto; max-width: 768px; -} \ No newline at end of file +} + +.notFoundContainer { + min-height: calc(100vh - 80px); + display: grid; + grid-template-columns: 1.2fr 1fr; + align-items: center; + padding: 4rem 6rem; +} + +.notFoundTitle { + font-size: 72px; + font-weight: 700; + color: var(--ifm-color-primary); +} + +.notFoundSubtitle { + font-size: 56px; + font-weight: 700; + color: var(--ifm-color-primary); + margin-bottom: 1.5rem; +} + +.notFoundDescription { + font-size: 18px; + color: #6b7280; + max-width: 520px; + margin-bottom: 2rem; +} + +.notFoundActions { + display: flex; + gap: 1rem; +} + +.notFoundPrimaryBtn { + padding: 0.75rem 1.5rem; + border-radius: 999px; + background: var(--ifm-color-primary); + color: #fff; + font-weight: 600; +} + +.notFoundSecondaryBtn { + padding: 0.75rem 1.5rem; + border-radius: 999px; + border: 1px solid var(--ifm-color-primary); + background: transparent; + color: var(--ifm-color-primary); + font-weight: 600; + cursor: pointer; +} + +.notFoundImageWrapper { + display: flex; + justify-content: center; +} + +.notFoundImage { + max-width: 420px; + width: 100%; +} + +.notFoundLogo { + max-width: 260px; + opacity: 0.9; +} From e21b8ff8b1eeffe810fd2db602280b82c7ca1fd5 Mon Sep 17 00:00:00 2001 From: Achanandhi M <110651321+Achanandhi-M@users.noreply.github.com> Date: Mon, 5 Jan 2026 12:40:35 +0530 Subject: [PATCH 2/6] chore: update footer year to 2026 (#740) * chore: update footer year to 2026 Signed-off-by: Achanandhi-M * chore: update footer year to 2026 Signed-off-by: Achanandhi-M --------- Signed-off-by: Achanandhi-M Signed-off-by: skools-here --- docusaurus.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 522306cc0..20f3468d3 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,8 +1,8 @@ //@ts-check -import {themes as prismThemes} from "prism-react-renderer"; +import { themes as prismThemes } from "prism-react-renderer"; const path = require("path"); -import {visit} from "unist-util-visit"; +import { visit } from "unist-util-visit"; const FontPreloadPlugin = require("webpack-font-preload-plugin"); /** @type {import('@docusaurus/types').DocusaurusConfig} */ @@ -51,7 +51,7 @@ module.exports = { content: "API testing, Keploy docs, incident replay, network calls, code paths, test scenarios, code coverage, stubs, junit, go-test, live environment, production incidents, open source, regression tests, ai tests", }, - {name: "twitter:card", content: "summary_large_image"}, + { name: "twitter:card", content: "summary_large_image" }, ], headTags: [ // Preconnect tag @@ -218,7 +218,7 @@ module.exports = { - +
About | From 540797f2396c1b235c0c11ac9b4e86d79f0c10d4 Mon Sep 17 00:00:00 2001 From: Achanandhi M <110651321+Achanandhi-M@users.noreply.github.com> Date: Tue, 6 Jan 2026 14:25:49 +0530 Subject: [PATCH 3/6] feat: remove utg commands (#748) Signed-off-by: Achanandhi-M Signed-off-by: skools-here --- docusaurus.config.js | 6 ++-- .../running-keploy/cli-commands.md | 35 ------------------- 2 files changed, 3 insertions(+), 38 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 20f3468d3..5a66c4a43 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,8 +1,8 @@ //@ts-check -import { themes as prismThemes } from "prism-react-renderer"; +import {themes as prismThemes} from "prism-react-renderer"; const path = require("path"); -import { visit } from "unist-util-visit"; +import {visit} from "unist-util-visit"; const FontPreloadPlugin = require("webpack-font-preload-plugin"); /** @type {import('@docusaurus/types').DocusaurusConfig} */ @@ -51,7 +51,7 @@ module.exports = { content: "API testing, Keploy docs, incident replay, network calls, code paths, test scenarios, code coverage, stubs, junit, go-test, live environment, production incidents, open source, regression tests, ai tests", }, - { name: "twitter:card", content: "summary_large_image" }, + {name: "twitter:card", content: "summary_large_image"}, ], headTags: [ // Preconnect tag diff --git a/versioned_docs/version-3.0.0/running-keploy/cli-commands.md b/versioned_docs/version-3.0.0/running-keploy/cli-commands.md index 49c6bed1b..6cfdcb3e5 100755 --- a/versioned_docs/version-3.0.0/running-keploy/cli-commands.md +++ b/versioned_docs/version-3.0.0/running-keploy/cli-commands.md @@ -31,7 +31,6 @@ Here are some examples of how to use some common flags: | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `record` | `-c, --command`, `--config-path`, `--containerName`, `-d, --delay`, `--metadata`, `-n, --networkName`, `--passThroughPorts`, `-p, --path`, `--proxyport`, `--debug` | | `test` | `--apiTimeout`, `-c, --command`, `--config-path`, `--containerName`, `-d, --delay`, `--mongoPassword`, `-n, --net, --networkName`, `--passThroughPorts`, `-p, --path`, `--proxyport`, `-t, --testsets`, `--debug`, `-g, --generateTestReport`, `--removeUnusedMocks`, `--coverage`, `--goCoverage`, `--ignoreOrdering`, `--skip-preview`, `--proto-dir`, `--proto-file`, `--proto-include` | -| `gen` | `--sourceFilePath`, `--testFilePath`,`--coverageReportPath`,`--testCommand`,`--coverageFormat`,`--expectedCoverage`,`--maxIterations`,`--testDir`,`--llmBaseUrl`,`--model`,`--llmApiVersion` | | `normalize` | `-p, --path`, `--test-run`, `--tests` | | `rerecord` | `--test-sets`, `-t` | | `report` | `--test-sets, -t`, `-p, --path`, `--report-path, -r`, `--body` | @@ -257,40 +256,6 @@ keploy test [flags] > **Note for GRPC Tests:** When running GRPC test cases, it's recommended to provide proto information using either `--proto-file` or `--proto-dir` flags. If proto information is not provided, Keploy will use basic canonical matching of the protoscopic textual format of GRPC response body, which may be less accurate than proto-based comparison. -## [gen](#gen) - -The `gen` cmd in Keploy allows user to generate unit tests using LLM Models. - - Usage: - -```bash -keploy gen [flags] -``` - - Available flags: - -- `sourceFilePath` - Path to the source file for which tests are to be generated. - -- `testFilePath` - Path where the generated tests will be saved. - -- `coverageReportPath` - Path to generate the coverage report. - -- `testCommand` - Command to execute tests and generate the coverage report. - -- `coverageFormat` - Type of the coverage report by default report is in "cobertura" format. - -- `expectedCoverage` - Desired coverage percentage by default it is set to be at 100%. - -- `maxIterations` - Maximum number of iterations for refining tests (default 5). - -- `testDir` - Directory where tests will be written. - -- `llmBaseUrl` - Base url of the llm. - -- `model` - Specifies the AI model to use by default it uses "gpt-4o" model. - -- `llmApiVersion` - API version of the llm if any. - ## [normalize](#normalize) The `normalize` cmd in Keploy allows user to change the response of the testcases according to the latest test run response that is executed by the user, this is useful when the API response of the testcases are changed due to code change or any other intentional change in the application. From be3dfd86d253779c63dca2b22d7ed9b3e2fd5d92 Mon Sep 17 00:00:00 2001 From: skools-here Date: Wed, 7 Jan 2026 14:39:20 +0530 Subject: [PATCH 4/6] fixing 404 redirect and pipeline fails Signed-off-by: skools-here --- src/pages/404.js | 45 ++++-------------------- src/pages/styles.module.css | 68 +------------------------------------ 2 files changed, 8 insertions(+), 105 deletions(-) diff --git a/src/pages/404.js b/src/pages/404.js index 4a050bb64..1361590bd 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -1,43 +1,12 @@ -import Layout from "@theme/Layout"; -import Link from "@docusaurus/Link"; -import styles from "./styles.module.css"; -import useBaseUrl from "@docusaurus/useBaseUrl"; +import { useEffect } from "react"; +import { useHistory } from "@docusaurus/router"; export default function Custom404() { - return ( - -
-
-

Oops! 404

-

Not Found...

+ const history = useHistory(); -

- Looks like you've wandered off the beaten path. Our team is working - to get you back on track and find what you're looking for. -

+ useEffect(() => { + history.replace("/docs"); + }, [history]); -
- - Back To Home - - - -
-
- -
- Keploy logo -
-
-
- ); + return null; } diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css index b28edaf42..bae51321e 100644 --- a/src/pages/styles.module.css +++ b/src/pages/styles.module.css @@ -159,70 +159,4 @@ .announcementInner { margin: 0 auto; max-width: 768px; -} - -.notFoundContainer { - min-height: calc(100vh - 80px); - display: grid; - grid-template-columns: 1.2fr 1fr; - align-items: center; - padding: 4rem 6rem; -} - -.notFoundTitle { - font-size: 72px; - font-weight: 700; - color: var(--ifm-color-primary); -} - -.notFoundSubtitle { - font-size: 56px; - font-weight: 700; - color: var(--ifm-color-primary); - margin-bottom: 1.5rem; -} - -.notFoundDescription { - font-size: 18px; - color: #6b7280; - max-width: 520px; - margin-bottom: 2rem; -} - -.notFoundActions { - display: flex; - gap: 1rem; -} - -.notFoundPrimaryBtn { - padding: 0.75rem 1.5rem; - border-radius: 999px; - background: var(--ifm-color-primary); - color: #fff; - font-weight: 600; -} - -.notFoundSecondaryBtn { - padding: 0.75rem 1.5rem; - border-radius: 999px; - border: 1px solid var(--ifm-color-primary); - background: transparent; - color: var(--ifm-color-primary); - font-weight: 600; - cursor: pointer; -} - -.notFoundImageWrapper { - display: flex; - justify-content: center; -} - -.notFoundImage { - max-width: 420px; - width: 100%; -} - -.notFoundLogo { - max-width: 260px; - opacity: 0.9; -} +} \ No newline at end of file From 231404c501ba7c124a3125bafe67c84f0c84ae30 Mon Sep 17 00:00:00 2001 From: Sajal Kulshreshtha Date: Wed, 7 Jan 2026 14:45:15 +0530 Subject: [PATCH 5/6] Fix footer copyright formatting in config Signed-off-by: Sajal Kulshreshtha Signed-off-by: skools-here --- docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 5a66c4a43..2cf52ed4b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -218,8 +218,8 @@ module.exports = { - -
+ About | Security From bc49ae75f785f73fdc961b261329eaabbe1e9097 Mon Sep 17 00:00:00 2001 From: skools-here Date: Wed, 7 Jan 2026 15:42:34 +0530 Subject: [PATCH 6/6] removing unnecessary change Signed-off-by: skools-here --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 2cf52ed4b..dd2067567 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -385,4 +385,4 @@ function convertIndent4ToIndent2(code) { return code.replace(/^( {4})+/gm, (match) => { return " ".repeat(match.length / 4); }); -} +} \ No newline at end of file