Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Testing

Nicholas Romero edited this page Jun 26, 2017 · 2 revisions

The workflow as follows

Unit testing

Selenium Browser Testing

Use reango test helpers to set up a logged in selenium user sitting on the home page.

Every html component involved in the test should have a css class name using BEM, which essentially is a class name with an action or state associated with it like

  • button_signin-link
  • button_submit-form or with variable substitution
`pollRadioButton_select-answer-${choice.name}`

The point being if you stick to this standard writing selenium tests is a breeze.

Clone this wiki locally