No. And even if there was, it would be probably useless anyway.
You would get incorrect results, because a .php file might call slow functions from WordPress core files, and there are a lot of situations like this.
You could try using the xdebug extension, it’s pretty close to what you’re looking for
Related Posts:
- Exception in thread “main” java.lang.Error: Unresolved compilation problems
- Exception in thread “main” java.lang.Error: Unresolved compilation problems
- What’s the difference between a mock & stub?
- How can I test that a variable is more than eight characters in PowerShell?
- How to run only one unit test class using Gradle
- How to configure “Shorten command line” method for whole project in IntelliJ
- Testing hooks callback
- Developing, Testing and Releasing
- Proper unit testing in WordPress
- Can I get at WordPress code from inside a Selenium test?
- Using wp_mail during an integration test
- WP_UnitTestCase missing?
- What’s the proper method of installing a plugin during unit testing?
- Duplicate a WordPress Install for Testing Purposes
- PHPSpec and WordPress
- Coverage in integration tests
- Integration tests don’t register menu
- Integration testing – test is_wp_error in the code?
- Am I testing this right?
- Is there a way to mock update_option for unit testing?
- How to use WordPress methods (themes, plugins, context) with Behat?
- WordPress Automatic Testing Probelm
- why my must use plugins (mu-plugins) not work at localhost?
- How do I get PHPUnit Polyfills set up for testing on a mac?
- Set up PHPUnit with WordPress: The WordPress tests are 3 – 4 years old; does it matter?
- Available methods for a/b testing the content
- How can I enable IDE integration (autocomplete) for WordPress test suite
- Integration test – remove the mu plugins in the test
- Unit Test ignores stubbed method second time around in a dataProvider
- can I run the test suite without a web server?
- Running plugin unit tests vs. integration tests?
- How do I activate a plugin while testing?
- How do I simulate a registration form submission while testing?
- How do I package and distribute my WordPress plugin via git?
- What is a sanity test/check
- How can I solve the error LNK2019: unresolved external symbol – function?
- How to measure test coverage in Go
- MOCKITO: What is it and how is it different from Junit
- Chrome Error: You are using an unsupported command-line flag: –ignore-certifcate-errors. Stability and security will suffer
- ReferenceError: describe is not defined NodeJs
- Proper way to assert type of variable in Python
- How to perform unit testing on proposed patches in Trac?
- Best Practices for Regression Testing WordPress Websites?
- Unit testing in the WordPress backend (is_admin() is true)
- Show different theme for admin?
- Vagrant script to setup all the common PHP / WordPress version combinations
- Unit tests – Dealing with dependencies
- PHP unit testing WordPress?
- Writing test cases for a WordPress Plugin that has translations
- Tutorials for Unit-Testing in WordPress and for unit-test.svn.wordpress.org?
- Programmatically create blogs with dummy content on a WPMU site
- Theme Check gives: Required: This theme doesn’t seem to display tags?
- Why Can’t PHPUnit UnitTest My WordPress Website
- How to transfer changes from test environment to live site?
- Revert WordPress default options after a PHPUnit test has run
- How to properly test a method that is called by an action hook
- How can I debug my database connection for unit testing?
- Activate different theme for temporary preview
- How to disable redirect on test/staging copy of wordpress site
- How to run a test WordPressMu to WordPress3 update?
- How to add an image for unit testing?
- Why is WP_Mock not used instead of WP_UnitTestCase for writing unit tests by most plugins?
- automated tests as a user?
- Deploy WordPress From Local Docker to Hosting Provider
- Best way to notify WordPress plugin users of new release candidates for beta testing?
- Is there a way to activate different theme for specified users? [closed]
- How to initialize something in unit test before the init hook being called?
- WordPress installation site folder move to the final site destination
- How to create a network using a command line script?
- How can I test why the comment hook is not working?
- WordPress themes that are browser tested and maintained?
- Can’t run WP e2e-test-utils because the browser exits on login?
- Python with wordpress plugin
- How do I phpunit test a post output process?
- How to run subversion and staging environments when running WordPress
- A/B testing of posts with unique URLs for each variant AND editing in custom fields
- Identifying where plugins are being used in your wordpress install
- Publishing WordPress from stage to production server
- Test site pages go to main site
- Create a blank test.php
- .PO file is found but I don’t see translations: how to debug the problem?
- A/B test options at the widget level [closed]
- Mocking WP_CLI static methods in unit tests
- Clone WordPress for testing on localhost (with Fiddler)
- Is there a delay to include call function modification in a scheduled cron task?
- Cloning production site down to local?
- PHPUnit Testing and woocommerce Constant
- How can I measure CPU and RAM used by my theme or plugin
- How to trigger “wp_handle_upload_prefilter” filter when uploading an image programatically?
- Making sure updates didn’t break anything
- Testing Plugins for Multisite
- Limit Google Ads to particular blog posts
- How to test if in dashboard, bypassing Ajax quirk
- Best way to move a site to a subfolder for testing purposes?
- How to properly maintain a testing version of a site?
- Duplicate WordPress site to subdirectory but use same db?
- What is a good way to test that plugin upgrades have completed properly?
- How do you create a development site into a subdirectory of the live site?
- How do I set up a test environment in a sub-folder?
- ACF – programmatically install and activate in pipeline to automate testing for custom plugin development?