Issue with deployment - Run specific tests not working

18 views
Skip to first unread message

Subhani Pothakamuri

unread,
Sep 9, 2024, 10:51:45 AM9/9/24
to Illuminated Cloud General Discussion
Hi Scott,

I attempted to deploy some Apex code by selecting a specific test class and setting the Test Level to “Run Specific Tests.” However, it appears that the deployment is executing all test classes from last Friday. Could you investigate this issue?

Thank you,
Subhani

Scott Wells

unread,
Sep 9, 2024, 11:18:03 AM9/9/24
to Illuminated Cloud General Discussion, subha...@gmail.com

Hi. I’m not seeing the same behavior locally. I just ran a deployment selecting Run Specified Tests with an Apex unit test run configuration selected, and only those tests were executed. I can also see that reflected in the debug log:

2024-09-09 10:13:48,836 [ 253517] FINE - #com.illuminatedcloud.intellij.builder.deploy.ForceComMetadataApiDeployer - Submitting deployment request: { "allowMissingFiles": true, "autoUpdatePackage": false, "checkOnly": false, "rollbackOnError": false, "runTests": [ "ShoppingListMobileListControllerTest", "ShoppingListMobileViewControllerTest" ], "singlePackage": true, "testLevel": "RUN_SPECIFIED_TESTS" }

Can you please enable debug logging for Metadata Deployment and Apex Unit Testing, reproduce the behavior that you’re seeing, and email the resulting idea.log file to me for review?

Regards,
Scott Wells

Reply all
Reply to author
Forward
0 new messages