dalekjs / dalek-cli Goto Github PK
View Code? Open in Web Editor NEW[unmaintained] Command line runner for dalekjs testing framework
License: MIT License
[unmaintained] Command line runner for dalekjs testing framework
License: MIT License
First, thanks for your work!
Following your Get Started guide (http://dalekjs.com/pages/getStarted.html). I ran into this non blocking issue.
npm install dalekjs --save-dev
Then check the version with dalek -v
gives the following:Usage: dalek [test files] {OPTIONS}
Options:
--version, -v Shows the version of the dalek-cli & local dalek installation
--reporter, -r Reporter(s) you would like to invoke
--driver, -d Driver(s) you would like to invoke
--browser, -b Browser(s) you would like to invoke
--logLevel, -l Log level, controls the amount of information outputted to
the console (0 to 5)
--remote Starts a dalek host server for clients to connect to
--nocolors Disable colorized output in the console
--nosymbols Disable UTF-8 symbols in the console
--help, -h Show this message
[SyntaxError: Unexpected token /]
The last line, made me think that you will be interested in that issue:
[SyntaxError: Unexpected token /]
Please do not hesitate to comment the way the issue is reported. Hope it helps! Available for further information on next week.
✘ TEST - "Fail test" FAILED
0/1 assertions passed. Elapsed Time: 0.42 sec
The command "dalek tests/failTest.js" exited with 0.
As you can see in the log file, the test is failed. However dalek returns the status 0. Therefore, in Travis CI lit the green light.
The standard Unix exit code of "0" means the build passed; everything else is treated as failure.
The Build: https://travis-ci.org/vergissberlin/dalekjs-travisci/builds/27998721
That might solve the problem:
process.exit(exitCode);
Thank you,
André
Hi i've been using a lot of dalekjs in my companies mac, but when I try it in ubuntu I get this error when running any scripts
~/Desktop/test $ dalek test.js
Running tests
Running Browser: PhantomJS
ERROR: SyntaxError: Unexpected token E
~/Desktop/test $
I have followed all the instructions properly in installing dalekjs the same way I have installed it in my mac and this is the first time I get this kind of error. Can you guys tell me if I missed installing something to make dalekjs run? Thanks!
Hey! Demo's looking good, so much so that I could not resist trying it out. Following the installation guide on your site, and writing my first test, I am told that "No local DalekJS installation found". This is rather confusing, since I get this too: "$ dalek -v
DalekJS CLI Tools Version: 0.0.1
Brought to you with love by: Sebastian Golasch (@asciidisco) 2013".
I'll be watching further development though.
OS: Ubuntu 13.04,
$ node -v v0.10.15
$ npm -v 1.3.7
thanks
I've just spent the last hour tinkering with Dalek. It looks awesome! I wanted to drop a note to say that you might find this library I wrote useful for handling some of the CLI drudgery (finding a local installation, config file, etc):
http://github.com/tkellen/node-liftoff
You can see a real-world implementation of it here:
https://github.com/gulpjs/gulp/blob/master/bin/gulp.js
I'd love to hear your feedback if you get around to trying it out!
Running the following command:
dalek test.js --no-colors --no-symbols
Still outputs colors and symbols in the CLI.
Using Windows Server 2012 (PowerShell if that makes any difference).
I tried following the Quickstart guide but hit a problem on the following command:
dalek test/*.js
This appears to work on MacOS but not on Windows 7. I get the following error:
>> WARNING: Suite "test/*.js" does not exist. Skipping!
Since baseUrl is now a configurable option in the Dalekfile configuration (dalekjs/dalek#61), it make sense to add this to the command options as --baseUrl
/-u
.
Hey! First of all, thanks for inventing this wonderful product! This is really awesome! Every time i execute the dalek with my test script I'm getting the textual Image something like below. And this only happening after the re-installation.
[thiru@localhost]$dalek Deployed_code.js
|
/
<=====>
Æ----<=====>
=======
c o o o Æ
c o o o Æ
c o o o Æ
c__o__o__o__Æ
[_______]
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.