Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 936 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 936 Bytes

Qasmine

A Qt application to run Jasmine from command line

Prerequisites

How to compile

Make sure you have Qt Development environment

After cloning repository, type

cd src && qmake && make 
./qasmine /where/jasmine/SpecRunner.html --verbose

You can check exit code to get number of errors, so you can write some other scripts (like git hooks) with such an example

./qasmine /where/jasmine/SpecRunner.html > /dev/null ; echo $?

Those, who want to run qasmine in an environment which doesnt have X, they can use xvfb-run

xvfb-run ./qasmine /where/jasmine/SpecRunner.html

Exit codes

  • 255 : File not found or cannot be loaded
  • 0 : Success
  • 0 : number of errors of specs