Standard `tests/bootstrap.php`
hiqsol opened this issue · comments
Andrii Vasyliev commented
We have exactly identical tests/bootstrap.php
in all the packages.
So we could create the standard one, put it into yii-core
and require in other packages.
What do you think?
Andrii Vasyliev commented
Not really in all the packages, but we could use the same tests/bootstrap.php
and we should.
Alexander Makarov commented
Good idea.
Mehdi Achour commented
You've read my mind :)
Andrii Vasyliev commented
Used in yii-captcha
yiisoft/yii-captcha@ae925af
Mehdi Achour commented
Reopening so we remember to spread this change
Mehdi Achour commented
We also might want to document this.
5bb60b4#r31827488
Alexander Makarov commented
I don't like it:
- It's implicit.
- There are extra dependencies.
- Duplication eliminated is tiny.