yiisoft / yii-core

Yii Framework 3.0 core

Home Page:https://www.yiiframework.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standard `tests/bootstrap.php`

hiqsol opened this issue · comments

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?

Not really in all the packages, but we could use the same tests/bootstrap.php and we should.

Good idea.

You've read my mind :)

Reopening so we remember to spread this change

We also might want to document this.
5bb60b4#r31827488

I don't like it:

  1. It's implicit.
  2. There are extra dependencies.
  3. Duplication eliminated is tiny.