rescript-association / reasonml.org

Deprecated in favor of rescript-lang.org
MIT License
124 stars 33 forks source link

E2E tests / visual regression testing on CI #116

Open ryyppy opened 4 years ago

ryyppy commented 4 years ago

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!

lessp commented 4 years ago

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
ghost commented 3 years ago

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.