Firstly install Brew on your MAC
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then install PHP
- brew update
- brew tap homebrew/dupes
- brew tap homebrew/php
- brew install php56
{ | |
"presets": [ | |
"es2015", | |
"stage-0" | |
] | |
} |
Firstly install Brew on your MAC
Then install PHP
#!/usr/bin/env bash | |
# fresh-chrome | |
# | |
# Use this script on OS X to launch a new instance of Google Chrome | |
# with its own empty cache, cookies, and user configuration. | |
# | |
# The first time you run this script, it will launch a new Google | |
# Chrome instance with a permanent user-data directory, which you can | |
# customize below. Perform any initial setup you want to keep on every |
Protractor is the end to end test case runner for AngularJS. These end to end test cases can be repurposed to record performance metrics when the scenario is being run. This is a sample repository with an example of how this can be done.
Install all dependencies using npm install
describe('Test example.com', function(){ | |
before(function(done) { | |
client.init().url('http://example.com', done); | |
}); | |
describe('Check homepage', function(){ | |
it('should see the correct title', function(done) { | |
client.getTitle(function(err, title){ | |
expect(title).to.have.string('Example Domain'); | |
done(); |