jeudi 25 juillet 2019

Testing VueJS application visual side

  1. How to test styles in VueJS application? I don't want to check if some container has the particular attribute but I want to check if it looks good, visually. For example, when I add somewhere "position: relative" it can broke code in a lot of places. It may cause problems with for example absolutely positioned popovers, dialogs etc. It is impossible to write a code to detect similar cases, it should be tested "vusually". Maybe something what would take screenshots and compare them? I have a lot of regression because of it. So, how should I test it?
  2. How to calculate code coverage of my JEST unit tests, E2E tests and tests from pt 1*? Is any tool for this?

Aucun commentaire:

Enregistrer un commentaire