Skip to content

Test2::V0 docs should contain version numbers of features added later #1051

@bbrtj

Description

@bbrtj

Test2::V0 is promised to never break backward compatibility, but instead create a new bundle with incremented version number - that's awesome. However, it is not constant, and some keywords were added later, as I found out today.

A test file using check_isa has been failing today in my CI for me on windows / perl5.30. As it turned out, this keyword was added in version 0.000139, back when it was a part of Test2::Suite. However, finding this version number was not easy because:

  • Test::Simple changelog doesn't contain changelog of Test2::Suite
  • Test2::Suite in its old form can no longer be found on metacpan
  • Test2::V0 documentation has no mention of check_isa being added later

To find this version number, I had to:

  • find an archived repository for Test2::Suite on github
  • find "ISA" in its changelog (no results for check_isa), which pointed to a version number
  • find a merge request in git history and confirm that it added check_isa

This is hard and it requires access to original Test2::Suite repository (cannot be done through metacpan alone). Instead, my suggestion is to add a list of features/keywords along with version numbers they first appeared in somewhere in the docs of Test2::V0, for all features/keywords which were not a part of the original release. This way it will be easier to know what minimum Test2::V0 version to put in dependencies.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions