Skip to content

Allow custom testset for all package tests #110

@evetion

Description

@evetion

instead of requiring a @testmodule, adding it to each testitem and then nesting the tests with a custom testset for each individual testitem

@testmodule CustomTestSet begin
    include("customtestset.jl")
end

@testitem "Test" setup = [CustomTestSet] begin
    @testset CustomTestSet.CustomTestSet "Custom" begin
        @test true
        @test false
    end
end

it's much nicer to do:

@run_package_tests testset = CustomTestSet

Related to #99

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions