Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
feta.js, automated regression testing
CSS JavaScript

This branch is 50 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
extension
lib
tasks
test
.gitignore
Gruntfile.js
README.md
component.json
package.json

README.md

feta.js

Automated regression testing

Requirements

Feta is dependent on jQuery for event triggering.

Install

bower install feta

Usage

Automated Test Creation

  1. Load feta through devtools using the command: s = document.createElement('script'); s.src = 'http://localhost:3000/lib/feta.js'; document.body.appendChild(s);
  2. Run feta.start();
  3. Work through typical behaviours on the site
  4. Run feta.stop() to stop capturing events and create the output script (it will appear in your devtools scripts tab as "feta_output.js")
  5. Validations can be added to this file, or it can be incorporated into an automated test suite

Regression Testing

-Load your test script through devtools using the command: s = document.createElement('script'); s.src = 'http://localhost:3000/feta_output.js'; document.body.appendChild(s);

OR

-Run phantomjs feta/lib/phantom.js <url>

Todo

-capture more events, and different types

Something went wrong with that request. Please try again.