A tool for making the writing of tests in WordPress plugins and themes easier.
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/SebKay/touchstone/compare/3.0.0...4.0.0
Published by SebKay about 1 year ago
Full Changelog: https://github.com/SebKay/touchstone/compare/2.2.0...3.0.0
Published by SebKay almost 2 years ago
Full Changelog: https://github.com/SebKay/touchstone/compare/2.1.0...2.2.0
Published by SebKay almost 2 years ago
Full Changelog: https://github.com/SebKay/touchstone/compare/2.0.0...2.1.0
Published by SebKay almost 2 years ago
Full Changelog: https://github.com/SebKay/touchstone/compare/1.3.1...2.0.0
Published by SebKay over 2 years ago
Full Changelog: https://github.com/SebKay/touchstone/compare/1.3.0...1.3.1
Published by SebKay over 2 years ago
Full Changelog: https://github.com/SebKay/touchstone/compare/1.2.0...1.3.0
If you need to connect to your test database via a unix socket, you can now pass the --db-socket
option to the setup
command.
# Example
./vendor/bin/touchstone setup --db-host=127.0.0.1:8889 --db-socket="/path/to/mysqld.sock" --db-name=touchstone_tests --db-user=root --db-pass=root
Published by SebKay almost 3 years ago
Full Changelog: https://github.com/SebKay/touchstone/compare/1.1.0...1.2.0
You can can now configure plugins and themes to use in tests, like so:
# config.touchstone.php
<?php
return [
'plugins' => [
[
'name' => 'Hello Dolly',
'file' => dirname(__FILE__) . '/bin/plugins/hello-dolly/hello.php',
],
],
'theme' => [
'root' => dirname(__FILE__) . '/../../themes/twentytwentyone',
],
];
Published by SebKay almost 3 years ago
Full Changelog: https://github.com/SebKay/touchstone/compare/1.0.1...1.1.0
Published by SebKay about 3 years ago
Published by SebKay about 3 years ago
Published by SebKay about 3 years ago
In this release:
Published by SebKay about 3 years ago
In this beta release:
Published by SebKay about 3 years ago
Beta release of v1 that has all the functionality, but zero test coverage of said functionality.
Published by SebKay over 3 years ago
In this release:
parent::setup()
call to WPTS\Unit\UniteTest::setUp()
method.touchstone
bash script from only working when running database setup.Published by SebKay over 3 years ago
In this release:
./vendor/bin/touchstone setup DB_NAME DB_USER DB_PASSWORD DB_HOST
Published by SebKay over 3 years ago
Integration testing support (via WP_UnitTestCase).
Published by SebKay over 3 years ago
Unit testing support.