GithubHelp home page GithubHelp logo

E2E testing about nfq-react-component HOT 1 CLOSED

nfq-eta avatar nfq-eta commented on September 25, 2024
E2E testing

from nfq-react-component.

Comments (1)

FDiskas avatar FDiskas commented on September 25, 2024
  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

  2. 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.