0.2.0 • Published 11 years ago

grunt-functional v0.2.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

grunt-functional

Run self-hosted functional tests through casperjs.

This task will spin up your app on the host and port specified in your configuration and run your functional tests.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-functional

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-functional');

Documentation

  1. Install CasperJS
  2. Install and configure grunt-casperjs

      casperjs: {
        files: ['test/functional/**/*.js']
      }
  3. Add your functional tests to your project's "test/functional" directory.

  4. Add the following to your configuration:

      functional_tests: {
        hostname: 'localhost',
        port: 35729,
      }
  5. Run grunt functional and your functional tests will run on the host and port specified in your configuration.

Release History

0.1.0 - Initial Release.

License

Copyright (c) 2012 Caige Nichols "caiges"
Licensed under the MIT license.

0.2.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago