Skip to content

New sections to docs #790

Open
TvisharajiK wants to merge 5 commits intomainfrom
new-sections
Open

New sections to docs #790
TvisharajiK wants to merge 5 commits intomainfrom
new-sections

Conversation

@TvisharajiK
Copy link
Contributor

This pull request adds comprehensive documentation for advanced API testing features in Keploy, focusing on test suite management, assertion capabilities, test debugging, and workflow visualization. The new docs provide step-by-step guides and best practices for using features such as adding new test suites, bulk and custom assertions, schema validation, assertion trees, and debugging buggy test suites.

New and Enhanced Documentation:

  • Test Suite Management:

    • Added a guide for creating new test suites, including manual entry and cURL import, to help users organize and initiate API test collections.
  • Assertion Capabilities:

    • Introduced documentation for bulk assertions and schema validation, covering how to apply validations across multiple endpoints, filter tests, and enforce response structure and data types. Includes practical use cases and best practices.
    • Added a detailed guide on custom assertions, including using selected fields and custom JavaScript functions for advanced validation logic, with real-world examples and recommendations.
  • Test Workflow Visualization:

    • Documented the Assertion Tree feature, enabling users to visualize, inspect, and modify test workflows in a hierarchical tree format. Explains interactive capabilities, use cases, and best practices for managing complex test flows.
  • Debugging and Troubleshooting:

    • Added a comprehensive guide for identifying and fixing buggy test suites, with explanations for common failure reasons, assertion failures, debugging actions, and best practices for maintaining test quality.

Copilot AI review requested due to automatic review settings February 13, 2026 09:22
@kiloconnect
Copy link

kiloconnect bot commented Feb 13, 2026

Code Review Summary

Status: 10 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 1
WARNING 6
SUGGESTION 3
Issue Details (click to expand)

CRITICAL

File Line Issue
versioned_docs/version-4.0.0/running-keploy/api-testing-buggy-suites.md 19 Typo: "esclamation" should be "exclamation"

WARNING

File Line Issue
versioned_docs/version-4.0.0/running-keploy/api-testing-edit-suites.md 67 Placeholder link (#) will render as broken link
versioned_docs/version-4.0.0/running-keploy/api-testing-edit-suites.md 79 "refer here" with no actual link/reference
versioned_docs/version-4.0.0/running-keploy/api-testing-local-agent.md 27 Typo: "Keplr" should be "Keploy" (appears multiple times in lines 23, 24, 27, 30, 39, 43)
versioned_docs/version-4.0.0/running-keploy/api-testing-local-agent.md 46 "test sheets" appears to be inconsistent terminology
versioned_docs/version-4.0.0/running-keploy/api-testing-edit-suites.md 16 Keywords include terms like PreExecute, PostExecute not mentioned in doc content
versioned_docs/version-4.0.0/running-keploy/api-testing-edit-suites.md 18 Tags include webhook/integration-specific items not relevant to this doc

SUGGESTION

File Line Issue
versioned_docs/version-4.0.0/running-keploy/api-testing-add-suite.md 4 Front-matter id (api-testing-add-suite) differs from description mentioning "Add New"
versioned_docs/version-4.0.0/running-keploy/api-testing-edit-assertions.md N/A Naming conventions section mixes camelCase and snake_case examples
versioned_sidebars/version-4.0.0-sidebars.json 176 Consider grouping related API testing docs together for better navigation
Files Reviewed (20 files)
  • versioned_docs/version-4.0.0/running-keploy/api-testing-add-suite.md - 1 issue
  • versioned_docs/version-4.0.0/running-keploy/api-testing-adding-labels.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-assertion-tree.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-buggy-suites.md - 1 issue
  • versioned_docs/version-4.0.0/running-keploy/api-testing-bulk-assertions.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-custom-assertions.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-edit-assertions.md - 1 issue
  • versioned_docs/version-4.0.0/running-keploy/api-testing-edit-suites.md - 4 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-filter-suites.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-generation-history.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-local-agent.md - 2 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-mark-unbuggy.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-run-report.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-running-selective.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-schema-coverage.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-sharing-reports.md - 0 issues
  • versioned_docs/version-4.0.0/running-keploy/api-testing-suite-settings.md - 0 issues
  • versioned_sidebars/version-4.0.0-sidebars.json - 1 issue

Fix these issues in Kilo Cloud

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the Keploy v4.0.0 documentation set for advanced API testing workflows, covering suite management, assertions, debugging, reporting, and visualization, and wires the new pages into the v4 sidebar navigation.

Changes:

  • Added multiple new running-keploy docs for API testing workflows (suite actions, selective runs, labeling, reports, schema coverage, debugging, etc.).
  • Updated the v4.0.0 sidebar to include the new API testing documentation pages.
  • Introduced “Fix with AI” documentation (currently not linked from the sidebar).

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
versioned_sidebars/version-4.0.0-sidebars.json Adds many new API Testing doc entries to the v4 sidebar (but currently misses “Fix with AI”).
versioned_docs/version-4.0.0/running-keploy/api-testing-suite-settings.md New guide for suite panel settings/actions (share/run/bulk edits/variables/functions/CI).
versioned_docs/version-4.0.0/running-keploy/api-testing-sharing-reports.md New guide for sharing run reports within a workspace.
versioned_docs/version-4.0.0/running-keploy/api-testing-schema-coverage.md New guide for schema coverage analysis and generating tests for missing coverage.
versioned_docs/version-4.0.0/running-keploy/api-testing-running-selective.md New guide for selectively running suites via checkbox/bulk actions.
versioned_docs/version-4.0.0/running-keploy/api-testing-run-report.md New guide for understanding and filtering run reports.
versioned_docs/version-4.0.0/running-keploy/api-testing-mark-unbuggy.md New guide for marking suites as unbuggy after fixes.
versioned_docs/version-4.0.0/running-keploy/api-testing-local-agent.md New guide for using the local agent for private/local endpoints.
versioned_docs/version-4.0.0/running-keploy/api-testing-generation-history.md New guide for viewing and using test generation job history.
versioned_docs/version-4.0.0/running-keploy/api-testing-fixing-ai.md New “Fix with AI” doc explaining AI-assisted repair/normalization of failing suites.
versioned_docs/version-4.0.0/running-keploy/api-testing-filter-suites.md New guide for filtering suites by endpoint/method/status/etc.
versioned_docs/version-4.0.0/running-keploy/api-testing-edit-suites.md New guide for editing suites/steps/assertions (contains placeholder/incomplete references + metadata issues).
versioned_docs/version-4.0.0/running-keploy/api-testing-edit-assertions.md New detailed doc for variables + custom assertions/functions (includes conflicting naming guidance).
versioned_docs/version-4.0.0/running-keploy/api-testing-custom-assertions.md New overview doc for assertion types and advanced custom function use.
versioned_docs/version-4.0.0/running-keploy/api-testing-bulk-assertions.md New guide for bulk assertions and schema validation across many tests.
versioned_docs/version-4.0.0/running-keploy/api-testing-buggy-suites.md New guide for diagnosing and fixing buggy suites (contains a typo).
versioned_docs/version-4.0.0/running-keploy/api-testing-assertion-tree.md New guide for visualizing workflows via the Assertion Tree.
versioned_docs/version-4.0.0/running-keploy/api-testing-adding-labels.md New guide for labeling suites (individual + bulk).
versioned_docs/version-4.0.0/running-keploy/api-testing-add-suite.md New guide for adding a suite (front-matter id currently mismatches the sidebar entry).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Use JavaScript expressions for complex validations
- Reference external validation logic

For detailed information on custom functions, [reference here](#).
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link is a placeholder ((#)) and will render as a broken link. Please replace it with a real target (e.g., the custom assertions/global functions doc) or remove it until a destination exists.

Suggested change
For detailed information on custom functions, [reference here](#).
For detailed information on custom functions, refer to the custom functions documentation.

Copilot uses AI. Check for mistakes.
Comment on lines +76 to +79
## How to Create Variables

For in detail usage of variables refer here :

Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section says "refer here" but provides no link/next step, leaving the variables guidance incomplete. Please add the intended link (or remove the section header until it’s ready).

Suggested change
## How to Create Variables
For in detail usage of variables refer here :

Copilot uses AI. Check for mistakes.
3. **Naming Conventions**
- Use camelCase: `userId`, `apiBaseUrl`
- Be descriptive: `adminUserToken` instead of `token1`
- Group related variables: `user_id`, `user_name`, `user_email`
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This "Naming Conventions" section mixes camelCase (userId) with snake_case examples (user_id). Please pick one convention (or explicitly document when each is used) so readers don’t get conflicting guidance.

Suggested change
- Group related variables: `user_id`, `user_name`, `user_email`
- Group related variables: `userId`, `userName`, `userEmail`

Copilot uses AI. Check for mistakes.
Comment on lines +8 to +18
- webhooks
- integration
- custom validation
- policy enforcement
keywords:
- webhook
- API testing
- PreExecute
- PostExecute
- external validation
- custom logic
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The front-matter tags include webhook/integration-specific items, but this page is about editing test suites. Please update the tags to reflect the actual topic so tagging/search results aren’t misleading.

Suggested change
- webhooks
- integration
- custom validation
- policy enforcement
keywords:
- webhook
- API testing
- PreExecute
- PostExecute
- external validation
- custom logic
- test suites
- test editing
- assertions
- variables
keywords:
- API testing
- test suites
- Keploy
- test steps
- assertions
- variables

Copilot uses AI. Check for mistakes.
Comment on lines +15 to +16
- PreExecute
- PostExecute
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The front-matter keywords (e.g., PreExecute, PostExecute) don’t appear to be covered in this doc. Consider replacing them with keywords related to suite/test-step editing, assertions, and variables.

Suggested change
- PreExecute
- PostExecute
- test suite editing
- test step editing
- assertions
- variables

Copilot uses AI. Check for mistakes.
Comment on lines +40 to +46
- It will capture the responses and start generating test sheets based on the recorded calls.

6. **Troubleshooting Connection Issues**
- If the local agent fails to connect, you can use the Keplr extension as an alternative.
- Ensure that the agent is running and the endpoint URL is correct.

By following these steps, you can efficiently use the local agent to test your APIs and generate test sheets automatically. No newline at end of file
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"test sheets" looks like a typo/inconsistent term here; elsewhere the docs use "test suites".

Suggested change
- It will capture the responses and start generating test sheets based on the recorded calls.
6. **Troubleshooting Connection Issues**
- If the local agent fails to connect, you can use the Keplr extension as an alternative.
- Ensure that the agent is running and the endpoint URL is correct.
By following these steps, you can efficiently use the local agent to test your APIs and generate test sheets automatically.
- It will capture the responses and start generating test suites based on the recorded calls.
6. **Troubleshooting Connection Issues**
- If the local agent fails to connect, you can use the Keplr extension as an alternative.
- Ensure that the agent is running and the endpoint URL is correct.
By following these steps, you can efficiently use the local agent to test your APIs and generate test suites automatically.

Copilot uses AI. Check for mistakes.
Comment on lines 172 to 176
"running-keploy/api-testing-webhook",
"running-keploy/api-testing-edit-suites",
"running-keploy/api-testing-custom-assertions",
"running-keploy/api-testing-assertion-tree",
"running-keploy/api-testing-auth-setup",
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API Testing sidebar list doesn’t include the newly added "Fix with AI" doc (front-matter id: api-testing-fix-with-ai), so it won’t be discoverable via navigation. Consider adding running-keploy/api-testing-fix-with-ai in this list.

Copilot uses AI. Check for mistakes.
Comment on lines +23 to +27
2. **Download the Keplr Agent**
- Based on your device configuration, download the Keplr agent:
- **Windows**
- **Mac**
- **Linux**
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "Keplr" should be "Keploy" (this appears multiple times in the page and may confuse readers).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant