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

Allow other test framework than mocha for anchor test. #426

Closed
fanatid opened this issue Jun 27, 2021 · 0 comments · Fixed by #550
Closed

Allow other test framework than mocha for anchor test. #426

fanatid opened this issue Jun 27, 2021 · 0 comments · Fixed by #550
Labels

Comments

@fanatid
Copy link
Contributor

fanatid commented Jun 27, 2021

I do not like mocha because new global variables introduced so this requires an external runner. Instead, I usually use tape where tests can be run as usual js files. Another good thing for tape that this test framework can be easily pinned (mocha can be pinned too, but we need patch PATH).
Outside tape somebody else can like use jest/ava/etc.

It would be nice if anchor test would accept test framework (through --test-framework=xxx for example) with mocha by default for backward compatibility.

I can work on this feature if you accept it.

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

Successfully merging a pull request may close this issue.

2 participants