0.1.17 • Published 10 years ago

stof v0.1.17

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Selenium Tests Organization Framework

Installation

npm install stof --save-dev

Grunt watcher

You can create grunt task to watch the page-objects and specs changes.

First of all

npm install grunt-contrib-watch --save-dev

Then add to your Gruntfile

grunt.config.merge
  testCompile:
    files: [
      'test/**/*.coffee'
    ]
  watch:
    scripts:
      files: [ '<%= testCompile.files %>' ]
      tasks: [ 'compile-tests' ]
      options:
        spawn: false

grunt.event.on 'watch', (action, filepath) ->
  grunt.config('testCompile.files', filepath)

grunt.loadNpmTasks('grunt-contrib-watch')
grunt.loadTasks('node_modules/stof/lib/compile')

grunt.registerTask 'watch-tests', 'Compiles all changed tests at start and watch for new changes continuously', ->
  grunt.task.run 'compile-tests'
  grunt.task.run 'watch'

Compiler testing

To test compile feature run the following command

mocha lib/test/compile-test.js
0.1.17

10 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago