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

Migrate from metatests to node native tests #261

Open
2 of 3 tasks
tshemsedinov opened this issue Nov 29, 2024 · 2 comments
Open
2 of 3 tasks

Migrate from metatests to node native tests #261

tshemsedinov opened this issue Nov 29, 2024 · 2 comments
Assignees

Comments

@tshemsedinov
Copy link
Member

tshemsedinov commented Nov 29, 2024

We can use utilities from metatests, for example, table tests, but integrated with native node.js test runner and asserts.

  • Switch to node --test with TAP
  • Rewrite all tests except table tests to node native asserts
  • After metetests will implement better table tests and interop with node test runner we need to update metetests to the latest version and refresh table tests
tshemsedinov added a commit that referenced this issue Nov 29, 2024
@leonid-shutov
Copy link
Contributor

@tshemsedinov I would like to work on this issue

@tshemsedinov
Copy link
Member Author

Please wait for this PR to be landed: metarhia/metatests#281

tshemsedinov pushed a commit that referenced this issue Dec 17, 2024
- `test.assert` -> `assert`
- `test.strictSame` -> `assert.strictEqual` / `assert.deepStrictEqual`
- `test.error` -> `assert.ifError`
- `test.throws` -> `assert.throws`
- Remove `test.end`
- Remove `test.plan`

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

No branches or pull requests

2 participants