reasonml.org icon indicating copy to clipboard operation
reasonml.org copied to clipboard

E2E tests / visual regression testing on CI

Open ryyppy opened this issue 5 years ago • 2 comments

The project is slowly getting big and manual testing can be a hazzle, so I'd like to slowly figure out what tools to use to automate some of those things.

Thinking about Cypress for E2E and Percy for screenshot / visual regression testing automation. I'd appreciate any input from experienced testers in that regard!

ryyppy avatar Feb 20 '20 09:02 ryyppy

Can recommend Cypress for E2E-tests, have used quite a bit, especially with the cucumber syntax extension: https://www.npmjs.com/package/cypress-cucumber-preprocessor

From their example:

Feature: The Facebook
 
  I want to open a social network page
  
  @focus
  Scenario: Opening a social network page
    Given I open Google page
    Then I see "google" in the title

lessp avatar Feb 20 '20 10:02 lessp

Typescript uses backstopjs for visual regression tests. I was also interested in Percy for a site that I am working on, but I stopped research for now.

ghost avatar Jan 14 '21 00:01 ghost