# How to configuree to use paratest

**URL:** <https://forum.cursor.com/t/how-to-configuree-to-use-paratest/164110>\
**Category:** Help\
**Tags:** php, extensions\
**Created:** [June 25, 2026, 7:51pm UTC](https://forum.cursor.com/t/how-to-configuree-to-use-paratest/164110 "2026-06-25T19:51:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigBlock\_Studios](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/bigblock_studios/32/112625_2.png) [@BigBlock\_Studios](https://forum.cursor.com/u/BigBlock_Studios)\
**Post date:** [June 25, 2026, 7:51pm UTC](https://forum.cursor.com/t/how-to-configuree-to-use-paratest/164110/1 "2026-06-25T19:51:18Z")

</div>

trying to get cursor to use paratest for laravel projects - It worked just great in vscode - all I ahd to do was change the phpunit.phpunit path to point at paratest … this does not work in cursor, only one processor is used.

How do I configure cursor to use paratest over phpunit

Windows/WSL/Ubuntu.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 28, 2026, 8:26am UTC](https://forum.cursor.com/t/how-to-configuree-to-use-paratest/164110/5 "2026-06-28T08:26:10Z")

</div>

Hey, thanks for the request. This isn’t a Cursor-specific thing. The `recca0120.vscode-phpunit` extension just runs whatever `phpunit.phpunit` points to, and ParaTest decides how many processes to use. It’s most likely an environment issue. A few things to check:

1. WSL environment. The most common cause is that in VS Code the project was opened via Remote-WSL, but in Cursor you opened it as a Windows folder. Then php, paratest, and CPU core detection work differently. Open the project in a WSL window `wsl+Ubuntu` and make sure `recca0120.vscode-phpunit` is installed and enabled in WSL remote, and that `phpunit.php` and `phpunit.phpunit` resolve to WSL binaries, not Windows php.

2. Set the worker count explicitly. ParaTest defaults can drop to 1 process. Add a flag via `phpunit.args`, for example:

3. Running a single test equals 1 process by design. If you click a single test or file, the extension passes `--filter`, and ParaTest runs it in one process. To see parallel runs, run the whole suite or a folder.

4. Check that the setting is actually applied. When importing settings from VS Code, workspace settings in `.vscode/settings.json` don’t always carry over. Make sure the ParaTest override is really in the workspace the way Cursor sees it.

Start with point 1. That’s usually the cause. Let me know if it doesn’t help.

---

<div class="post-metadata">

**Author:** ![BigBlock\_Studios](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/bigblock_studios/32/112625_2.png) [@BigBlock\_Studios](https://forum.cursor.com/u/BigBlock_Studios)\
**Post date:** [June 29, 2026, 2:18pm UTC](https://forum.cursor.com/t/how-to-configuree-to-use-paratest/164110/6 "2026-06-29T14:18:33Z")

</div>

thanks - got it working. turns out even though I was specifying the paratest path in settings json … the vscode setting was still at phpunit in the settings ui … mystery solved.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 29, 2026, 2:28pm UTC](https://forum.cursor.com/t/how-to-configuree-to-use-paratest/164110/8 "2026-06-29T14:28:51Z")

</div>

Glad you figured it out. This is a classic case where the value in the Settings UI overrides what’s in `settings.json`, so it’s important that both point to paratest.

Thanks for coming back and sharing the diagnosis. It’ll help other user who run into the same thing. I’m marking the thread as solved.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 1, 2026, 2:29pm UTC](https://forum.cursor.com/t/how-to-configuree-to-use-paratest/164110/9 "2026-07-01T14:29:09Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
