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 smoke test #442

Open
szkiba opened this issue Dec 18, 2024 · 0 comments
Open

Add smoke test #442

szkiba opened this issue Dec 18, 2024 · 0 comments

Comments

@szkiba
Copy link
Contributor

szkiba commented Dec 18, 2024

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant