# stof

> Selenium Tests Organization Framework

Latest version **0.1.17** (published 2015-08-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install stof
pnpm add stof
yarn add stof
bun add stof
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.17 |
| Published | 2015-08-13 |
| First published | 2015-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+7 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Megaplan |
| Maintainers | alexkvak, davojan |
| Keywords | selenium, test, mocha |

## Links

- npm: https://www.npmjs.com/package/stof
- Repository: https://github.com/megaplan/stof
- Homepage: https://github.com/megaplan/stof#readme
- Issues: https://github.com/megaplan/stof/issues
- npm.io page: https://npm.io/package/stof

## Dependencies (7)

- [lodash](https://npm.io/package/lodash.md) ^3.9.3
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [should](https://npm.io/package/should.md) ~6.0.*
- [bluebird](https://npm.io/package/bluebird.md) ^2.9.26
- [fs.extra](https://npm.io/package/fs.extra.md) ^1.3.2
- [underscore](https://npm.io/package/underscore.md) ~1.7.0
- [selenium-webdriver](https://npm.io/package/selenium-webdriver.md) 2.44.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 0.1.17 (latest) — 2015-08-13
- 0.1.16 — 2015-08-13
- 0.1.15 — 2015-08-13
- 0.1.14 — 2015-06-24
- 0.1.13 — 2015-06-24
- 0.1.12 — 2015-06-17
- 0.1.11 — 2015-06-11
- 0.1.10 — 2015-06-11
- 0.1.9 — 2015-06-05
- 0.1.8 — 2015-06-04
- 0.1.7 — 2015-06-04
- 0.1.6 — 2015-06-04
- 0.1.5 — 2015-06-04
- 0.1.4 — 2015-06-01
- 0.1.3 — 2015-06-01
- … 4 more at https://npm.io/package/stof/versions

## README

# 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

---
_Source: https://npm.io/package/stof · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
