# Creating Pega Unit test cases through AI

**URL:** <https://forums.pega.com/t/creating-pega-unit-test-cases-through-ai/12130>\
**Category:** AI\
**Created:** [May 27, 2026, 4:24am UTC](https://forums.pega.com/t/creating-pega-unit-test-cases-through-ai/12130 "2026-05-27T04:24:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SAHARSHS17154271](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@SAHARSHS17154271](https://forums.pega.com/u/SAHARSHS17154271)\
**Post date:** [May 27, 2026, 4:24am UTC](https://forums.pega.com/t/creating-pega-unit-test-cases-through-ai/12130/1 "2026-05-27T04:24:49Z")

</div>

Hi All, Has anyone tried creating PEGA unit test cases using GEN AI? Any lead is appreciated.

---

<div class="post-metadata">

**Author:** ![KamilJaneczek](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/kamiljaneczek/32/23339_2.png) [@KamilJaneczek](https://forums.pega.com/u/KamilJaneczek)\
**Post date:** [May 27, 2026, 5:06am UTC](https://forums.pega.com/t/creating-pega-unit-test-cases-through-ai/12130/2 "2026-05-27T05:06:21Z")

</div>

Hi, please take a look here into official docs: [Pegasystems Documentation](https://docs.pega.com/bundle/platform/page/platform/devops/creating-automated-tests-genai.html) and more specifically here: [Pegasystems Documentation](https://docs.pega.com/bundle/platform/page/platform/devops/creating-automated-tests-applications.html)

Any particular question?

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [May 27, 2026, 1:27pm UTC](https://forums.pega.com/t/creating-pega-unit-test-cases-through-ai/12130/3 "2026-05-27T13:27:22Z")

</div>

We can create Automated Test for the Case type in 25.1. Please check this documentation.

I’ve created for Case Type and validated the use cases, but never gone deep dive.

> **[Pegasystems Documentation](https://docs.pega.com/bundle/platform/page/platform/devops/creating-automated-tests-applications.html)**
