Skip to content

Commit 77caeb7

Browse files
committed
update readme, update config for local coverage view
1 parent bcb518d commit 77caeb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ git clone git@github.com:SparkPost/wordpress-sparkpost.git ~/src/wordpress/wp-co
4040
## Running Tests
4141
* Make sure you're using PHP 5.6 or above.
4242
* Go to `./tests` directory.
43-
* Install test files by running `bash bin/install-wp-tests.sh wordpress_test root '' localhost latest`. Details on [wp-cli.org](http://wp-cli.org/docs/plugin-unit-tests/).
43+
* Install test files by running `bash bin/install-wp-tests.sh wordpress_test root '' localhost latest` (Try `127.0.0.1` instead of `localhost` if you're getting error). Details on [wp-cli.org](http://wp-cli.org/docs/plugin-unit-tests/).
4444
* [Install composer](https://getcomposer.org/doc/00-intro.md)
4545
* Run `composer install` to install required packages.
4646
* To run tests, run `composer test`.

tests/phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@
2222
</filter>
2323
<logging>
2424
<log type="coverage-clover" target="coverage/clover.xml"/>
25+
<log type="coverage-html" target="coverage/report"/>
2526
</logging>
2627
</phpunit>

0 commit comments

Comments
 (0)