Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 2.54 KB

adr-init-solution-202302.md

File metadata and controls

40 lines (32 loc) · 2.54 KB

Solution initialization ADR - February, 2023

Context and Problem Statement

What technical solution for end-2-end (e2e) testing to start with and which technical stack?

Requirements

  • Tests can be run from the command line, with no link to an external service (no SaaS)
  • Test reports can be generated in HTML format
  • Language must respect HobbyFarm technical stack: TypeScript, Go
  • (Optional) Pipelines for code lifecycle & test execution are easy to make

Considered Options

Decision Outcome

  • Cypress is an proven solution but there is a risk the company change its open source strategy over time (and restrict for example the featureset or license model)
  • Jest is very interesting for unit/integration testing, maybe not well suited for e2e testing.
  • Playwright has a very good documentation and featureset, not linked to a company ← we have our winner!
  • Selenium has no strong drivers in Go (as of today)
  • Taiko doesn't have the same audience as the other massively used tools