We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Make it easy for module authors to write automated tests for their modules.
We need this functionality too for writing our internal tests for Zinnia JS APIs.
See https://deno.land/manual@v1.30.3/basics/testing
describe
it
zinnia test
mocha test/file.js
mocha -g regex
it.skip
describe.skip
it.only
See https://deno.land/manual@v1.30.3/basics/testing for inspiration.
A Mastodon thread about DX aspects of JS testing frameworks: https://mastodon.social/@jamesshore@mastodon.online/110345771809205197
zinnia
assert
zinnia:assert
format_test_error
cli/tools.rs
Estimate: Time-boxed to 2-3 days
The text was updated successfully, but these errors were encountered:
bajtos
No branches or pull requests
Make it easy for module authors to write automated tests for their modules.
We need this functionality too for writing our internal tests for Zinnia JS APIs.
See https://deno.land/manual@v1.30.3/basics/testing
Features to consider:
describe
) and tests (it
)zinnia test
mocha test/file.js
)mocha -g regex
)it.skip
anddescribe.skip
)it.only
)See https://deno.land/manual@v1.30.3/basics/testing for inspiration.
A Mastodon thread about DX aspects of JS testing frameworks: https://mastodon.social/@jamesshore@mastodon.online/110345771809205197
Out of scope
Assertion library - people can bundle & vendor e.g. https://deno.land/std@0.177.0/testing/asserts.tszinnia test
#215Subtasks
feat:
zinnia
CLI can import JS from anywhere #218refactor: cleanup code handling import sandboxing #220
assert
module again, this time aszinnia:assert
feat: embed Deno assertions as
zinnia:assert
#217docs: testing guide for module authors #222
format_test_error
from Deno'scli/tools.rs
to get nicer error stack tracesfeat: prettify test failures #223
Estimate: Time-boxed to 2-3 days
The text was updated successfully, but these errors were encountered: