[PR #2912] [MERGED] Restructure testing docs into overview and subpages #3000

Closed
opened 2026-06-05 18:20:39 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2912
Author: @maahir30
Created: 3/3/2026
Status: Merged
Merged: 3/11/2026
Merged by: @mdrxy

Base: mainHead: test-page-refactor


📝 Commits (10+)

📊 Changes

12 files changed (+1007 additions, -584 deletions)

View changed files

📝 pipeline/preprocessors/link_map.py (+2 -0)
📝 src/docs.json (+34 -2)
📝 src/langsmith/cicd-pipeline-example.mdx (+1 -1)
src/oss/langchain/evals.mdx (+0 -247)
📝 src/oss/langchain/guardrails.mdx (+1 -1)
📝 src/oss/langchain/middleware/custom.mdx (+1 -1)
📝 src/oss/langchain/middleware/overview.mdx (+1 -1)
📝 src/oss/langchain/test/evals.mdx (+99 -330)
src/oss/langchain/test/index.mdx (+27 -0)
src/oss/langchain/test/integration-testing.mdx (+434 -0)
src/oss/langchain/test/unit-testing.mdx (+406 -0)
📝 src/oss/langgraph/observability.mdx (+1 -1)

📄 Description

Summary

  • Split the monolithic test.mdx page into an overview page and three subpages: unit testing, integration testing, and evals.
  • Merged the orphaned evals.mdx page into the new test/evals.mdx, eliminating content duplication.
  • Expanded integration testing with new sections on test organization, API key management, structural assertions, and cost reduction for both Python and JS.
  • Added comprehensive JS unit testing docs for the new fakeModel() utility.
  • Cleaned up the evals page: unified intro, reduced code repetition, and standardized JS imports.
  • Updated docs.json navigation, added redirects for old paths, and fixed cross-references in 5 files.

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2912 **Author:** [@maahir30](https://github.com/maahir30) **Created:** 3/3/2026 **Status:** ✅ Merged **Merged:** 3/11/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `test-page-refactor` --- ### 📝 Commits (10+) - [`4bd2796`](https://github.com/langchain-ai/docs/commit/4bd2796c10dcd22781ece227bc3de2c36c64cebb) all - [`bf1f9b0`](https://github.com/langchain-ai/docs/commit/bf1f9b049b3676dd4b2ae63ece54607046b4f4dd) redirects - [`94e194c`](https://github.com/langchain-ai/docs/commit/94e194cf98c5477e9406d7214a56772c58163b97) vitest - [`0bfbc30`](https://github.com/langchain-ai/docs/commit/0bfbc30e9efcf2b55b251c8f4484110efdf33b8a) cr - [`9385e0f`](https://github.com/langchain-ai/docs/commit/9385e0f95c9e17823b066cd008eeb1d4f59f4a25) Update src/oss/langchain/test/evals.mdx - [`c69fb4d`](https://github.com/langchain-ai/docs/commit/c69fb4db7cbb0780aed2430e09226877ee7b7bf6) Update src/oss/langchain/test/integration-testing.mdx - [`ed15df9`](https://github.com/langchain-ai/docs/commit/ed15df9eb63fb65a20e06af1e812552e33ec6e1b) Update src/oss/langchain/test/unit-testing.mdx - [`b8fd760`](https://github.com/langchain-ai/docs/commit/b8fd760f27d2fd6571987a4cbd04df1060748ba3) fixes - [`bdb2bd9`](https://github.com/langchain-ai/docs/commit/bdb2bd9456e5d001c19413a167bddb911a0d8bc4) Merge branch 'main' into test-page-refactor - [`e147d11`](https://github.com/langchain-ai/docs/commit/e147d11a9e353c7acc108dbda57015e9fd75f7f1) Update src/oss/langchain/test/unit-testing.mdx ### 📊 Changes **12 files changed** (+1007 additions, -584 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/preprocessors/link_map.py` (+2 -0) 📝 `src/docs.json` (+34 -2) 📝 `src/langsmith/cicd-pipeline-example.mdx` (+1 -1) ➖ `src/oss/langchain/evals.mdx` (+0 -247) 📝 `src/oss/langchain/guardrails.mdx` (+1 -1) 📝 `src/oss/langchain/middleware/custom.mdx` (+1 -1) 📝 `src/oss/langchain/middleware/overview.mdx` (+1 -1) 📝 `src/oss/langchain/test/evals.mdx` (+99 -330) ➕ `src/oss/langchain/test/index.mdx` (+27 -0) ➕ `src/oss/langchain/test/integration-testing.mdx` (+434 -0) ➕ `src/oss/langchain/test/unit-testing.mdx` (+406 -0) 📝 `src/oss/langgraph/observability.mdx` (+1 -1) </details> ### 📄 Description ## Summary - Split the monolithic `test.mdx` page into an overview page and three subpages: unit testing, integration testing, and evals. - Merged the orphaned `evals.mdx` page into the new `test/evals.mdx`, eliminating content duplication. - Expanded integration testing with new sections on test organization, API key management, structural assertions, and cost reduction for both Python and JS. - Added comprehensive JS unit testing docs for the new `fakeModel()` utility. - Cleaned up the evals page: unified intro, reduced code repetition, and standardized JS imports. - Updated `docs.json` navigation, added redirects for old paths, and fixed cross-references in 5 files. (Internal team members only / optional): Create a preview deployment as necessary using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:20:39 -04:00
yindo closed this issue 2026-06-05 18:20:39 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3000