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

chore(ci): rename option #7875

Merged
merged 1 commit into from
Apr 28, 2022
Merged

chore(ci): rename option #7875

merged 1 commit into from
Apr 28, 2022

Conversation

ShaMan123
Copy link
Contributor

Minor rename.

I would love to ditch QUnit in favor of something better like chai

I would love to ditch QUnit in favor of something better like chai
@github-actions
Copy link
Contributor

github-actions bot commented Apr 10, 2022

Code Coverage Summary

> fabric@5.1.0 coverage:report
> nyc report --reporter=lcov --reporter=text

-----------|---------|----------|---------|---------|-----------------------------------------------
File       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                             
-----------|---------|----------|---------|---------|-----------------------------------------------
All files  |   82.88 |     75.3 |   86.26 |   82.59 |                                               
 fabric.js |   82.88 |     75.3 |   86.26 |   82.59 | ...,30453,30527,30538-30603,30726,30825,31061 
-----------|---------|----------|---------|---------|-----------------------------------------------

@github-actions
Copy link
Contributor

github-actions bot commented Apr 10, 2022

Code Coverage Summary

> fabric@5.1.0 coverage:report
> nyc report --reporter=lcov --reporter=text

-----------|---------|----------|---------|---------|-----------------------------------------------
File       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                             
-----------|---------|----------|---------|---------|-----------------------------------------------
All files  |   82.89 |    75.33 |   86.26 |    82.6 |                                               
 fabric.js |   82.89 |    75.33 |   86.26 |    82.6 | ...,30453,30527,30538-30603,30726,30825,31061 
-----------|---------|----------|---------|---------|-----------------------------------------------

@stale
Copy link

stale bot commented Apr 25, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue marked as stale by the stale bot label Apr 25, 2022
@ShaMan123 ShaMan123 removed the stale Issue marked as stale by the stale bot label Apr 25, 2022
@asturur
Copy link
Member

asturur commented Apr 28, 2022

I would love to ditch QUnit in favor of something better like chai

Does it run in the browser?
We have 2 sets of test, unit tests and visual one.
Between the unit tests there are some that are more meaningful in the browser ( dom elements and events ).

I would love to have Jest and node only for all the things that are pure functional testing, and have something that can run in the browser for the rest.
QUnit is a bit old and less known, but to be realistic, does it make sense to use time on tests? the website and docs could be at least 10x time better

@asturur asturur merged commit e0a30bb into master Apr 28, 2022
@ShaMan123
Copy link
Contributor Author

ShaMan123 commented Apr 29, 2022

https://github.com/mochajs/mocha
https://github.com/chaijs/chai
https://github.com/facebook/jest

https://github.com/sinonjs/sinon - stubs!

All these support node/browser.
Jest has more downloads but is under facebook... It can turn into a disadvantage as soon as they loose interest in it. Though it looks very solid. Same as React.
I don't have any preferences.
What I do want is a framework with excellent docs, an easy API and a relatively easy migration (very obvious...).
I think we need something that can mock browser events as well (#7802 needs that for tests). sinon might be able to that, not sure.

I have worked with mocha and sinon in node and was satisfied.

@ShaMan123
Copy link
Contributor Author

QUnit is a bit old and less known, but to be realistic, does it make sense to use time on tests? the website and docs could be at least 10x time better

10x for sure.

does it make sense to use time on tests?

typo? I don't understand.

@ShaMan123
Copy link
Contributor Author

ShaMan123 commented Apr 29, 2022

BTW we are compromised in the visual tests because of pixel comparison. Empty pixels are accounted for so the percentage for passing the test is wrong. If you run npm test -- -s visual -r you will see how different visuals are in passing tests.
So we should address that as well.

@ShaMan123 ShaMan123 deleted the cli-rename-opt branch April 29, 2022 03:37
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 this pull request may close these issues.

2 participants