Comments (1)
@davemo -- i just successfully pulled in testacular for a spike on a new branch.
Here's some output
$ grunt spec
path.existsSync is now called `fs.existsSync`.
Running "configure" task
Running "spec" task
info (config): /Users/justin/code/javascript/lineman/config/spec.js
info: Web server started at http://localhost:9101
info (launcher): Starting browser "PhantomJS"
info (watcher): Watching "/Users/justin/tmp/foo/a/node_modules/testacular/adapter/jasmine.js"
info (watcher): Watching "/Users/justin/tmp/foo/a/spec"
info (watcher): Watching "/Users/justin/tmp/foo/a/app/js"
info (watcher): Watching "/Users/justin/tmp/foo/a/node_modules/testacular/adapter/lib/jasmine.js"
info (PhantomJS 1.6): Connected on socket id nJPRBaliHB7gX0vSwRME
PhantomJS 1.6 FAILED
Expected 'foo' to be 'fooz'.
PhantomJS 1.6: Executed 1 of 1 (1 FAILED) (0.018 / 0.003 secs)
info: Disconnecting all browsers
<WARN> Spec execution failed with exit code 1 Use --force to continue. </WARN>
Aborted due to warnings.
justin@Searls-Air:~/tmp/foo/a - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [01:27:34]
$ grunt spec --force
path.existsSync is now called `fs.existsSync`.
Running "configure" task
Running "spec" task
info (config): /Users/justin/code/javascript/lineman/config/spec.js
info: Web server started at http://localhost:9101
info (launcher): Starting browser "PhantomJS"
info (watcher): Watching "/Users/justin/tmp/foo/a/node_modules/testacular/adapter/jasmine.js"
info (watcher): Watching "/Users/justin/tmp/foo/a/spec"
info (watcher): Watching "/Users/justin/tmp/foo/a/app/js"
info (watcher): Watching "/Users/justin/tmp/foo/a/node_modules/testacular/adapter/lib/jasmine.js"
info (PhantomJS 1.6): Connected on socket id pDDYHh-kxtPVb3yIwSps
PhantomJS 1.6 FAILED
Expected 'foo' to be 'fooz'.
PhantomJS 1.6: Executed 1 of 1 (1 FAILED) (0.017 / 0.002 secs)
info: Disconnecting all browsers
<WARN> Spec execution failed with exit code 1 Used --force, continuing. </WARN>
Done, but with warnings.
justin@Searls-Air:~/tmp/foo/a - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [01:27:39]
$ grunt spec
path.existsSync is now called `fs.existsSync`.
Running "configure" task
Running "spec" task
info (config): /Users/justin/code/javascript/lineman/config/spec.js
info: Web server started at http://localhost:9101
info (launcher): Starting browser "PhantomJS"
info (watcher): Watching "/Users/justin/tmp/foo/a/node_modules/testacular/adapter/jasmine.js"
info (watcher): Watching "/Users/justin/tmp/foo/a/spec"
info (watcher): Watching "/Users/justin/tmp/foo/a/app/js"
info (watcher): Watching "/Users/justin/tmp/foo/a/node_modules/testacular/adapter/lib/jasmine.js"
info (PhantomJS 1.6): Connected on socket id feaT-TiA8KAs9GQwwWNI
.
PhantomJS 1.6: Executed 1 of 1 SUCCESS (0.018 / 0.002 secs)
info: Disconnecting all browsers
Done, without errors.
justin@Searls-Air:~/tmp/foo/a - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [01:27:54]
$
I really dig this for one-time runs. If a failure occurs, it knows to break the build, but b/c it uses grunt.warn, the convention is you can "--force" your way past the warning, so if you want to ignore test failures you can.
from lineman.
Related Issues (20)
- A proposal for for an alternative to fetcher ... need your thoughts and suggestions to complete it HOT 2
- Why isn't a custom task failing to execute in lineman build but works with lineman grunt <task name>? HOT 1
- How can I configure my own recipe repo when using lineman fetch <recipe name> HOT 1
- lineman run fails after using grunt-exec HOT 2
- A document improvement suggestion HOT 3
- Make it not blow up on [email protected].* HOT 2
- Version issue HOT 2
- lineman spec failes when phantomjs is installed and setup as runner (AngularJS project) HOT 1
- Exclude css from generated css (for a style guide page) HOT 2
- Heroku support HOT 6
- Need code coverage with istanbul HOT 4
- Directive Unit tests (TESMEM) fail using templateUrl HOT 1
- Update graceful-fs HOT 1
- Are there guidelines to upgrade my linemanjs angular 1 environment to anguar 2? HOT 2
- Incorrect http://linemanjs.com/#adding-lineman-plugins link
- Multiple modules need updates HOT 1
- jshint:files aborts with warning
- Time-Grunt Integration HOT 4
- Fix integration tests
- linemanjs.com links to casino site HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lineman.