tinybutstrong
tinybutstrong copied to clipboard
Tests update
simpleTest 1.1 added into composer.json
Old simpleTest was not deleted (for compatibility tests with php <5.4)
The results of running tests without plugins on different php versions below:
Just run testunit/index.php
on php 5 or php 7
Not tested on php <5.3
Support for console mode
Please rebase your branch on master to avoid any merge commits and then force push your changes
Please rebase your branch on master to avoid any merge commits and then force push your changes
Can i do it from web interface?
Can i do it from web interface?
unfortunatelly not. If you collaborate with others on one pull request you should avoid that as it rewrites your commits. Do that only if you are the only one working on that pull request. Thats why github doesn't support that on the platform.
composer test
is now available
I suggest to simply delete the « testunit » and « benches » from this repository. Those are quite old tools now. What do you think ?
would you suggest switchting to phpunit? how easy is it to move to phpunit?
The modern PHPUnit requires php >= 7.1
In this Pull Request i suggest only that you update SimpleTest without losing compatibility For php <5.4 will be used old SimpleTest For php >=5.4 will be used last SimpleTest
When the project will depend on php >=7 then it will be meaningful to rewrite the tests for PHPUnit
> composer update
> composer test