Skip to content

Public tests not running? #50

@Sekky61

Description

@Sekky61

It seems to me that public tests are not running:

    const internal_test = b.addTest(.{
        .root_source_file = b.path("src/tests.zig"), // <-- same path
        .optimize = optimize,
        .target = target,
        .name = "internal_tests",
    });
    b.installArtifact(internal_test);

    // public api tests
    const public_test = b.addTest(.{
        .root_source_file = b.path("src/tests.zig"), // <-- same path, should be `tests/tests.zig`
        .optimize = optimize,
        .target = target,
        .name = "public_tests",
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions