diff --git a/docs/changelog.md b/docs/changelog.md index 87dc21a9..ec081fb5 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,12 @@ description: The latest updates and changes to CodeRabbit. sidebar_position: 13 --- +## July 23, 2025 + +### ⚡️ Unit Test Generation - Beta + +CodeRabbit's unit test generation is now available in Beta! Automatically generate comprehensive unit tests for your code changes, ensuring better test coverage and catching edge cases you might miss. Our AI analyzes your code structure and creates tests that follow best practices and your project's testing patterns. Learn more [here](https://docs.coderabbit.ai/finishing-touches/unit-test-generation), or just try it under ✨ Finishing Touches. + ## July 17, 2025 ### Enhanced Reporting Capabilities diff --git a/docs/finishing-touches/unit-test-generation.md b/docs/finishing-touches/unit-test-generation.md index 21bf5a18..71fe5431 100644 --- a/docs/finishing-touches/unit-test-generation.md +++ b/docs/finishing-touches/unit-test-generation.md @@ -10,17 +10,17 @@ import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; ``` :::warning -This feature is [experimental](/early-access#experiments). +This feature is in beta. ::: # Unit Test Generation Unit Test Generation is part of the [finishing touches](/future-development#finishing-touches). -Unit Test Generation is an Early Access Experimental feature. - ## Usage +![Unit Test Generation](/img/finishing-touches/utg.gif) + Once you are done with your pull request and its reviews, you may want to perform finishing touches to your code, such as adding unit tests. You can request CodeRabbit to generate unit tests by typing `@coderabbitai generate unit tests` in a comment under that pull request or by clicking a checkbox under **Generate Unit Tests** in the CodeRabbit Walkthrough. Once sent, CodeRabbit will perform the following actions: diff --git a/docs/reference/review-commands.md b/docs/reference/review-commands.md index 76d70c59..dc3c97b8 100644 --- a/docs/reference/review-commands.md +++ b/docs/reference/review-commands.md @@ -29,11 +29,11 @@ CodeRabbit through chat, see [Interact with CodeRabbit reviews](/guides/code-rev ## Documentation commands -| Command | Description | Use Case | -| ---------------------------------------- | -------------------------------------------- | --------------------------------------------------- | -| `@coderabbitai generate docstrings` | Generates docstrings for functions in the PR | When you need automatic documentation for your code | +| Command | Description | Use Case | +| ----------------------------------- | -------------------------------------------- | --------------------------------------------------- | +| `@coderabbitai generate docstrings` | Generates docstrings for functions in the PR | When you need automatic documentation for your code | | `@coderabbitai generate unit tests` | Generates unit tests for the PR | When you need automatic unit testing for your code | -| `@coderabbitai configuration` | Shows current CodeRabbit settings | When you need to check or export your configuration | +| `@coderabbitai configuration` | Shows current CodeRabbit settings | When you need to check or export your configuration | ## Agentic chat commands diff --git a/static/img/finishing-touches/utg.gif b/static/img/finishing-touches/utg.gif new file mode 100644 index 00000000..4d685239 Binary files /dev/null and b/static/img/finishing-touches/utg.gif differ