Skip to content
/ qasmine Public

Qt application to run jasmine specs from command line

Notifications You must be signed in to change notification settings

tart/qasmine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Qt application to run jasmine specs from command line

Resources

Stars

Watchers

Forks

Packages

No packages published