File: run-test.sh

Recommend this page to a friend!
  Classes of Ovidiu Bokar  >  Social Media Sharing  >  run-test.sh  >  Download  
File: run-test.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Social Media Sharing
Create social media sharing links
Author: By
Last change:
Date: 2 years ago
Size: 368 bytes


Class file image Download
#!/usr/bin/env bash

##Compile js
echo "Building JS"

##copy files over
echo "Copy scripts over"
cp dist/SocialMedia.js test/browser/

## Run tests
echo "Page loading time test  "
./node_modules/phantomjs/bin/phantomjs test/pageloader.js

echo "Starting tests"
./node_modules/phantomjs/bin/phantomjs test/test.js