System Tests
Setting Up System Specs
We have made it as simple as possible to have your system specs. Before running your specs ensure you have installed the chromedriver
and that selenium-server standalone
is in your system path.
Mac OS
You can install the chromedriver and selenium standalone server with brew
This will install the chrome driver on the system path /usr/local/bin/chromedriver
If you're running in a different OS such as Linux you can specify the chromedriver path as such
System tests allows test user interactions with your application, running tests in either a real chrome browser. System tests use the Selenium Standalone Server.
For creating Amber system tests, you use the spec/system directory in your application. Here's how a system test looks like:
Run your specs with crystal spec
System Test currently only work with the Chrome Browser
Last updated