Skip to content

Add smoke test #36

Open
Open
@szkiba

Description

A smoke.test.js file should be created that contains a simple smoke test of the extension and can be successfully run without any external dependencies with a k6 that includes the extension.

Background

The k6lint and k6-extension-registry smoke checker checks the existence and successful execution of the smoke test after build.

If there is no smoke test, the extension gets a lower grade. In this case:

badge

In the simplest case, the smoke test only contains the import of the extension and an empty default function.

See also:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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