Skip to content

Conversation

@dereuromark
Copy link
Owner

@dereuromark dereuromark commented Dec 1, 2025

Summary

  • Add ability to browse the tests/TestCase/ directory structure piece by piece
  • View individual test files and list all test methods within them
  • Run specific test methods using PHPUnit's --filter option
  • Make class names clickable in type listings (Controllers, Tables, etc.) to quickly access test methods

Navigate to /test-helper in browser and use the new power(s)

New Features

Browse TestCase/

Navigate through the TestCase directory structure with breadcrumb navigation. Supports both app and plugin test directories.

View Test Methods

Click on any test file to see all testXxx() methods with their line numbers. Each method can be run individually.

Run Individual Methods

Uses --filter methodName to run specific test methods instead of the entire test file.

run-specific-methods

- Add browse() action to navigate TestCase/ directory structure
- Add view() action to list test methods in a specific test file
- Support running individual test methods via --filter parameter
- Make class names clickable in type listings to view test methods
- Change plugin/app selector to dropdown for space efficiency
- Add new icons: browse, folder, file, method, back, home
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 5.38462% with 123 lines in your changes missing coverage. Please review.
✅ Project coverage is 35.68%. Comparing base (887990a) to head (f9c7a49).

Files with missing lines Patch % Lines
src/Controller/TestCasesController.php 0.00% 120 Missing ⚠️
src/Controller/Component/TestRunnerComponent.php 0.00% 3 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #32      +/-   ##
============================================
- Coverage     36.76%   35.68%   -1.08%     
- Complexity     1142     1190      +48     
============================================
  Files            34       34              
  Lines          3588     3716     +128     
============================================
+ Hits           1319     1326       +7     
- Misses         2269     2390     +121     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dereuromark dereuromark merged commit 143e486 into master Dec 1, 2025
16 checks passed
@dereuromark dereuromark deleted the feature/browse-testcase-directory branch December 1, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants