# AI PR Review and Test generation-- Now in Beta

Published: 2025-06-24

Source: https://sentry.io/changelog/ai-pr-review-and-test-generation-now-in-beta

---

Now in beta, Sentry brings automated test generation and AI-powered PR reviews directly into your GitHub workflow—adding the tests you meant to write and the thoughtful review your code actually deserves, right in your PR.
![prreview.webp](https://cslswue7zohm4cat.public.blob.vercel-storage.com/JQBXxps-prreview.webp)

Here’s how it works:
Comment @sentry generate-test on any GitHub PR, and Sentry will generate unit tests that cover your changes—so you don’t have to backfill later or guess what needs testing.

Comment @sentry review to get an automatic, structured summary of your code, with flagged risks, architectural changes, and suggested fixes—so your team can focus on higher-level feedback.

These tools fit the way you already work—no IDE plugins, no context switching. Just faster, clearer feedback before you merge.

See more details in [Docs](https://docs.sentry.io/product/ai-in-sentry/sentry-prevent-ai)
