Framework for testing - psit4-lamas/PSIT4-LaMaS GitHub Wiki

  • Status: approved
  • Deciders: Tram Anh Duong, Vanessa Haas, Markus Wüest, Martin Wädensweiler, Aleksandar Spasojevic, David Kern
  • Date: 2019-03-15

Context and Problem Statement

  • How can we automate testing?

Decision Drivers

  • setup must be as easy as possible
  • must be able to test as much as possible

Considered Options

  • JEST/Enzyme
  • Jasmine
  • Nightwash JS
  • Selenium

Decision Outcome

Chosen option: "JEST/Enzyme" and "Nightwash", because they come out best (see below).

Pros and Cons of the Options

JEST/Enzyme

https://jestjs.io

  • Good, because it is designed to test REACT.
  • Bad, because it is new to the team.

Jasmine

https://jasmine.github.io

  • Good, because it should be known to the team. (was part of WEB)
  • Bad, because rather complicated to setup.

Nightwash JS

http://nightwatchjs.org

  • Bad, because it is new to the team.

Selenium

https://www.seleniumhq.org

  • Bad, because it is new to the team.