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: Update of run-test.sh
Date: 2 years ago
Size: 368 bytes
 

Contents

Class file image Download
#!/usr/bin/env bash ##Compile js echo "Building JS" ./node_modules/typescript/bin/tsc ##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 http://127.0.0.1:8080 echo "Starting tests" ./node_modules/phantomjs/bin/phantomjs test/test.js