Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Test2::Harness as devel:test dependency #1690

Closed
bschmalhofer opened this issue Mar 25, 2022 · 4 comments
Closed

Add Test2::Harness as devel:test dependency #1690

bschmalhofer opened this issue Mar 25, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request unittests Requests wrt unittests
Milestone

Comments

@bschmalhofer
Copy link
Contributor

bschmalhofer commented Mar 25, 2022

Test2::Suite is already a dependency.

{
    Module    => 'Test2::Suite',
    Features  => ['devel:test'],
    Comment   => 'basic test functions',
    InstTypes => {
        aptget => 'libtest2-suite-perl',
        emerge => undef,
        zypper => undef,
        ports  => undef,
    },
},

Let's add Test2::Harness as a further dependency. This allow to use yath on the command line and Test2::Harness in Dev::UnitTest::Run. This should allow better test aggregation. See https://blog.perl-academy.de/tag/TAP and https://www.youtube.com/watch?v=uyqP6Prsq38.

@bschmalhofer bschmalhofer added this to the OTOBO 10.1.2 milestone Mar 25, 2022
@bschmalhofer bschmalhofer self-assigned this Mar 25, 2022
@bschmalhofer
Copy link
Contributor Author

@svenoe : Can we slip this in before the upcoming releases?

@bschmalhofer bschmalhofer modified the milestones: OTOBO 10.1.2, OTOBO 11.0 Mar 29, 2022
@bschmalhofer bschmalhofer modified the milestones: OTOBO 11.0, Wishlist Mar 29, 2022
@bschmalhofer
Copy link
Contributor Author

No need to rush this, add the wish to the wishlist.

@bschmalhofer bschmalhofer modified the milestones: Wishlist, OTOBO 10.1.5 May 12, 2022
@bschmalhofer bschmalhofer added enhancement New feature or request unittests Requests wrt unittests labels May 12, 2022
bschmalhofer added a commit that referenced this issue May 12, 2022
This add the program yath "yet another test harness".
Also add Crypt::JWT to cpanfile as a side effect when regenerating cpanfile.
bschmalhofer added a commit that referenced this issue May 12, 2022
Issue #1690: add Test2::Harness to the devel:test feature
@bschmalhofer
Copy link
Contributor Author

yath is now available in the running Docker container. Looks good. Closing this issue.

@bschmalhofer
Copy link
Contributor Author

It turned out that yath and test aggregation were never used. This means that this dependency can be removed again. Especially as at least Ubuntu does not provide this module as an OS package. See #3476 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unittests Requests wrt unittests
Projects
None yet
Development

No branches or pull requests

1 participant