Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RFC: Revamp TestUtils & tests#14

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
bloodyowl wants to merge3 commits intorescript-lang:master
base:master
Choose a base branch
Loading
frombloodyowl:revamp-tests

Conversation

@bloodyowl
Copy link
Contributor

@bloodyowlbloodyowl commentedMar 10, 2021
edited
Loading

→ Removes Jest
→ Updates peerDependencies

Test files render

Setup

Screen Shot 2021-03-10 at 13 44 34

Assertions setup

Screen Shot 2021-03-10 at 13 45 02

Tests

Screen Shot 2021-03-10 at 13 43 21

Screen Shot 2021-03-10 at 13 43 44

Test output render

Screen Shot 2021-03-10 at 16 55 09

Screen Shot 2021-03-10 at 16 55 58

Copy link

@JasoonSJasoonS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks clean to me (although I have zero authority here...)

@cknitt
Copy link
Member

@mattdamon108@cristianoc What about this PR? The previously existing tests were removed in#49. Are we interested in re-adding tests?

@cristianoc
Copy link
Contributor

@mattdamon108@cristianoc What about this PR? The previously existing tests were removed in#49. Are we interested in re-adding tests?

Not sure. Do they add value to justify the maintenance? E.g w.r.t. snapshot test where one just looks at the generated code?

Could go either way. No opinion.

@mununki
Copy link
Member

I have no opinion. Actually, not sure what we should test for the binding module.
One thing that came to my mind is to test the generated js output, maybe?

@cristianoc
Copy link
Contributor

I have no opinion. Actually, not sure what we should test for the binding module.
One thing that came to my mind is to test the generated js output, maybe?

Checking in che compiled output seems by far the easiest thing. And tells everything there is to know.

strategy:
matrix:
node-version:[10.x, 12.x]
node-version:[14.x]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We should probably add 16 since it's the current LTS release.

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

Reviewers

2 more reviewers

@jderochervlkjderochervlkjderochervlk left review comments

@JasoonSJasoonSJasoonS approved these changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@bloodyowl@cknitt@cristianoc@mununki@JasoonS@jderochervlk

[8]ページ先頭

©2009-2025 Movatter.jp