-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Improve test writing experiences for devs #502
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
Conversation
I'm wondering whether it is possible to implement batch random testing for the math library. Maybe something like
|
@statementreply I think it's possible. But I am not very sure if it's a good practice since the test will be unstable. Or we can use some seed-able random approach for that. I will do more research about random testing, please stay tuned. And I like the Thanks! |
@antfu I'm thinking about doing random testing on math lib locally. Maybe it's not a good idea for the workflow. Edit: I just realized that I could write the random testing in wenyan (with hacks) if it's going to run locally :/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L👍TM, feel free to merge :D
Merging now. If anyone comes up with better ideas, feel free to raise up! |
Improve test writing experiences for devs
Refer to: #487
Changes
hanzi2num
more clear and speratenum2hanzi
andhanzi2num
into different groups.stdlib.calendar.test.js
andstdlib.math.test.js
, should be fulfilled in the future.UTC
for calendar testingThe
stdlib.calender.test.js
currently looks like this: