mocha-casperjs
mocha-casperjs copied to clipboard
Write CasperJS tests using Mocha
I tried running the example in the docs but with an obvious error at the top: ``` javascript // example.js FOOBAR describe('Google searching', function() { before(function() { casper.start('http://www.google.fr/') }) it('should...
Currently, there is no way for me to run tests in subdirectories, or to even specify a directory to run tests in. I was expecting to be able to do...
``` davida@suki ~/s/m/component-button> more test/t2.js describe('Google searching', function() { before(function() { casper.start('http://www.google.fr/') }) it('should retrieve 10 or more results', function() { casper.then(function() { 'Google'.should.matchTitle 'form[action="/search"]'.should.be.inDOM.and.be.visible this.fill('form[action="/search"]', { q: 'casperjs' },...
Hello, Is there a clean way of requiring a node module ? Currently, I'm using casperjs's utils like this : `var utils = require('../../../node_modules/casperjs/modules/utils');` Before using mocha-casperjs, I was using...
npm 3 will stop installing peer dependencies and in general are a [bag of hurt](https://github.com/npm/npm/labels/peerdependencies) with a lot of npmers [calling for deprecation of it](https://github.com/npm/npm/issues/5080).