Page MenuHomePhabricator

Split Wikibase tests into unit and integration tests
Closed, DuplicatePublic

Description

Rather than our current setup in which all tests are bundled in a single directory split the unit and integration tests into 2 separate directories.

This would enable us to:

  • Run unit (fast) and integration (slow) tests separately
  • Get a better idea of where we actually stand in regard to unit tests

Event Timeline

Change 511035 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/Wikibase@master] DNM! Bootstrap and move unittests to their own dir

https://gerrit.wikimedia.org/r/511035

After migration to extension registration and PSR-4, this can be picked up now.

Change 667208 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/core@master] DNM: Allow one level of subdirectories for unit tests

https://gerrit.wikimedia.org/r/667208

Not sure if this task is different from T96458: Separate Wikibase unit tests from integration tests or not.

They seem to be basically the same and T96458 has the better description. I'd suggest closing this one as a duplicate of T96458. And maybe consider to make T96458 a child T87781, like the current task is (not sure about that myself).

Change 511035 abandoned by Addshore:

[mediawiki/extensions/Wikibase@master] DNM! Bootstrap and move unittests to their own dir

Reason:

https://gerrit.wikimedia.org/r/511035