View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033755 | mantisbt | tools | public | 2024-02-16 20:32 | 2024-09-29 13:15 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 2.27.0 | Fixed in Version | 2.27.0 | ||
Summary | 0033755: Enable Xdebug to facilitate PHPUnit tests troubleshooting | ||||
Description | When PHPUnit tests execution is failing for REST or SOAP API, it is sometimes difficult to troubleshoot the root cause, as debugging the test cases themselves does not allow tracing API endpoints' code. We need a setting in the PHPUnit bootstrap.php file that will optionally start the Xdebug session when needed. | ||||
Tags | No tags attached. | ||||
MantisBT: master e082b0ce 2024-02-16 20:34 Details Diff |
Tests: new MANTIS_TESTSUITE_XDEBUG_SESSION setting Allows debugging of SOAP and REST API endpoints when running PHPUnit. If not empty, sets the XDEBUG_SESSION cookie with the config's value to enable Xdebug. Fixes 0033755 |
Affected Issues 0033755 |
|
mod - tests/bootstrap.php.sample | Diff File | ||
mod - tests/core/RequestBuilder.php | Diff File | ||
mod - tests/rest/RestBase.php | Diff File | ||
mod - tests/soap/SoapBase.php | Diff File |