Comments (1)
-
Looks cool. I like that there is a preview window and overall good speed. In this repository I used http://codecept.io with http://codecept.io/helpers/Nightmare/
It runs electron browser (based on chrome) so it works on any os and result will be the same. To write a test case is easy.
E2E tests not only about clicking. In my opinion thous tests should be done in different browsers and OS. It's possible to do so using https://www.browserstack.com/ and it's free for opensource. It's not easy to set everything up, but for complex components it must be. For example component like https://fullcalendar.io -
I think thous tests should be implemented both. One for unit other for User Experience tests like drag and drop / resize / clicks / scrolls and so on...
In some cases (for example component who should render geometry with svg) css regression tests needed to - example repo https://github.com/nfq-eta/css-regression-test-example
For good quality component I'm preaty shure that 85% coverage is must be. Plus all reported and fixed bug cases should be tested to. You should't get back to same issue twice. Good coverage brings less stress when refactoring something :)
In now days is popular make components in typescript or flow e.x. https://github.com/ant-design/ant-design - those components are more stable and less human mistakes in it
sorry for bad English - hope you got my point 😅
from nfq-react-component.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfq-react-component.