J
by Tim Elsass
1 (0 reviews)
Jasmine Test Runner
Run Jasmine tests right inside of your WordPress admin.
Tested up to WP 4.7 (Current: 6.9.1)
v0.2
Current Version v0.2
Updated 9 years ago
Last Update on 08 Dec, 2016
Refreshed 6 hours ago
Last Refreshed on
Rank
#47,765
—
No change
Active Installs
1+
-92.3%
KW Avg Position
69.7
+0.4 better
Downloads
1.5K
+3 today
Support Resolved
0%
—
No change
Rating
20%
Review 1 out of 5
1
(0 reviews)
Next Milestone 10
0+
10+
2,056
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 20,559 more installs to reach 10+
Rank Changes
Current
#47,764
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
1.0
0 reviews
Overall
20%
5
0
(0%)
4
0
(0%)
3
0
(0%)
2
0
(0%)
1
0
(0%)
Tracked Keywords
Showing 3 of 3| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| jasmine | 4 | — | Tag | 7 hours ago |
| js unit test | 68 | — | Tag | 7 hours ago |
| unit tests | 137 | — | Tag | 7 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 0.2
- Last Updated
- Dec 08, 2016
- Requires WP
- N/A+
- Tested Up To
- 4.7
- PHP Version
- N/A
- Author
- Tim Elsass
Support & Rating
- Rating
- ★ ☆ ☆ ☆ ☆ 1
- Reviews
- 0
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowFrequently Asked Questions
Common questions about Jasmine Test Runner
A: The simplest way to utilize it is by adding a query arg to your URL that contains the path to your tests. Example: example.com/post.php?post=16102&jtrunner=/plugins/jasmine-test-runner/tests/ /plugins/jasmine-test-runner/tests is the relative path from your /wp-content/ directory.
A: Yes! All settings for the plugin are configured with the 'jasmine_test_runner' WordPress filter. This shows an example of adding specific unit tests that your plugin would run if a user has Jasmine Test Runner enabled. This will load a set of unit tests located in a plugin's /tests/ directory. function add_unit_tests( $settings ) { $files = array(); foreach ( glob( __DIR__ . '/tests/*.js' ) as $filename ) { $file = basename( $filename ); $files[] = plugins_url( "tests/{$file}", __FILE__ ); } $settings['tests'] = array_merge( $settings['tests'], $files ); return $settings; } add_filter( 'jasmine_test_runner', 'add_unit_tests' );
A: Definitely! You may want to have the test runner load everytime on a certain page or section the admin, so this is an example of overriding that setting as well. This will load the Jasmine test runner on a page called 'toplevel_page_boldgrid-inspirations'. function load_inspirations_jtrunner( $settings ) { $settings['loads_in'] = array_merge( $settings['loads_in'], array( 'toplevel_page_boldgrid-inspirations' ) ); return $settings; } add_filter( 'jasmine_test_runner', 'load_inspirations_jtrunner' );
A: This can also be done, but keep in mind that running it all the time, and having multiple tests running can cause negative performance impacts. This code forces Jasmine Test Runner to always run in admin: function force_load_jtrunner( $settings ) { $settings['loads_in'] = array( 'all' ); return $settings; } add_filter( 'jasmine_test_runner', 'force_load_jtrunner' );
A: Jasmine Test Runner can run the tests in random order by adding &random=true to your query string.
A: The seed number and seed URL are displayed in the Jasmine Test Runner status bar when you've selected to run random or a seed. For failed tests the bar appears red. If you need to obtain this seed programatically, .jasmine-seed-bar class contains the link to run the seed, and the link text is the seed number.
A: If you wish to use your own seed generatator algorithm, you can specify the resulting seed directly by appending &seed=YOUR_SEED. Where YOUR_SEED is, should be the resulting seed you've generated.