0.1.17 • Published 9 years ago
stof v0.1.17
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
9 years ago
0.1.16
9 years ago
0.1.15
9 years ago
0.1.14
9 years ago
0.1.13
9 years ago
0.1.12
9 years ago
0.1.11
9 years ago
0.1.10
9 years ago
0.1.9
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.3
9 years ago