As part of #3225695: Support entity types whose entity bundle type does not end with `_type` and entities without created date to add a taxonomy_term entity to the test structure there are several hard-coded places where the new entity has to be added. If these are not done, it gives the impression that full test coverage of the new entity is working because all tests pass. The process can be improved so the addition only has to be done in one place and therefore and test failures will immediately show up.

CommentFileSizeAuthor
#8 3260070-8.streamline-testing.patch18.24 KBjonathan1055

Issue fork scheduler-3260070

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

Status: Active » Needs review
jonathan1055’s picture

Can't seem to trigger a test build. Maybe push another change?

jonathan1055’s picture

Testing had been disabled because the default issue test environment for 8.9 which is no longer available.

  • jonathan1055 committed 7a255af on 2.x
    Issue #3260070 by jonathan1055: Streamline the test coverage process...
jonathan1055’s picture

Assigned: jonathan1055 » Unassigned
Status: Needs review » Fixed

Done

jonathan1055’s picture

Status: Fixed » Needs review
StatusFileSize
new18.24 KB

A few more changes to make the testing more generic and type-agnostic

  • jonathan1055 committed 353410f on 2.x
    Issue #3260070 by jonathan1055: Further test streamlining for when a...
jonathan1055’s picture

Status: Needs review » Fixed

Fixed.

  • jonathan1055 committed 78ab9dc on 2.x
    Issue #3260070 by jonathan1055: Improve PastDates with method_exists...

  • jonathan1055 committed 4c95608 on 2.x
    Issue #3260070 by jonathan1055: Fixed two missed calls to this->...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

jonathan1055’s picture