All Projects → webdriverio-boneyard → wdio-jasmine-framework

webdriverio-boneyard / wdio-jasmine-framework

Licence: MIT license
A WebdriverIO v4 plugin. Adapter for Jasmine testing framework.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to wdio-jasmine-framework

jasmine-styleguide
Suggested best practices when writing Jasmine unit tests.
Stars: ✭ 65 (+195.45%)
Mutual labels:  jasmine, jasmine-tests
Webdriverio
Next-gen browser and mobile automation test framework for Node.js
Stars: ✭ 7,214 (+32690.91%)
Mutual labels:  jasmine, webdriverio
SITreg
SAP Event Registration app backend
Stars: ✭ 26 (+18.18%)
Mutual labels:  jasmine, jasmine-tests
aurelia-typescript-boilerplate
A starter kit for building a standard navigation-style app with Aurelia, typescript and webpack by @w3tecch
Stars: ✭ 18 (-18.18%)
Mutual labels:  jasmine, jasmine-tests
angular-spa-demo
Demo code for a Single Page Application using AngularJS
Stars: ✭ 20 (-9.09%)
Mutual labels:  jasmine
mutest
A BDD testing framework for C, inspired by Mocha
Stars: ✭ 22 (+0%)
Mutual labels:  jasmine
jasmine2-custom-message
custom failure message on any jasmine v2 assertion
Stars: ✭ 27 (+22.73%)
Mutual labels:  jasmine
j8spec
Library that allows tests written in Java to follow the BDD style introduced by RSpec and Jasmine.
Stars: ✭ 45 (+104.55%)
Mutual labels:  jasmine
wdio-reportportal-reporter
A WebdriverIO plugin. Report results to Report Portal.
Stars: ✭ 22 (+0%)
Mutual labels:  webdriverio
webdriverio-zap-proxy
Demo - how to easily build security testing for Web App, using Zap and Glue
Stars: ✭ 58 (+163.64%)
Mutual labels:  webdriverio
tslint-defocus
A tslint rule to nag you when you forget that you have focused some Jasmine tests with 'fdescribe' or 'fit'
Stars: ✭ 18 (-18.18%)
Mutual labels:  jasmine
saloon
An E2E test seeder for enterprise web applications
Stars: ✭ 30 (+36.36%)
Mutual labels:  webdriverio
ts-node-starter
GitHub template to get started with Node.js & TypeScript. ⚡
Stars: ✭ 28 (+27.27%)
Mutual labels:  jasmine
parse-server-test-runner
A tool for programmatically starting Parse Server
Stars: ✭ 18 (-18.18%)
Mutual labels:  jasmine
generator-speedseed
Oriented to components, allow create/choice template, multiple configuration with easy maintenance
Stars: ✭ 13 (-40.91%)
Mutual labels:  jasmine
ts-snippet
A TypeScript snippet compiler for any test framework
Stars: ✭ 29 (+31.82%)
Mutual labels:  jasmine
ci-ifd-lead
Code Institute | Interactive Frontend Development | 6-week _lead project
Stars: ✭ 16 (-27.27%)
Mutual labels:  jasmine
ui-testing-book
Content for "The Web App Testing Guidebook"
Stars: ✭ 26 (+18.18%)
Mutual labels:  webdriverio
jasmine-custom-message
custom failure message on any jasmine v1.3 assertion
Stars: ✭ 15 (-31.82%)
Mutual labels:  jasmine
testing-angular-applications
Project for the Testing Angular Applications book
Stars: ✭ 99 (+350%)
Mutual labels:  jasmine

WDIO Jasmine Framework Adapter

Build Status Test Coverage dependencies Status


A WebdriverIO plugin. Adapter for Jasmine testing framework.

Installation

The easiest way is to keep wdio-jasmine-framework as a devDependency in your package.json.

{
  "devDependencies": {
    "wdio-jasmine-framework": "~0.2.20"
  }
}

You can simple do it by:

npm install wdio-jasmine-framework --save-dev

Instructions on how to install WebdriverIO can be found here.

Configuration

Following code shows the default wdio test runner configuration...

// wdio.conf.js
module.exports = {
  // ...
  framework: 'jasmine'
  jasmineNodeOpts: {
    defaultTimeoutInterval: 10000
  }
  // ...
};

jasmineNodeOpts Options

defaultTimeoutInterval

Timeout until specs will be marked as failed.

Type: Number
Default: 10000

expectationResultHandler

The Jasmine framework allows it to intercept each assertion in order to log the state of the application or website depending on the result. For example it is pretty handy to take a screenshot every time an assertion fails.

Type: Function
Default: null

grep

Optional pattern to selectively select it/describe cases to run from spec files.

Type: RegExp | string
Default: undefined

invertGrep

Inverts 'grep' matches

Type: Boolean
Default: false

cleanStack

Cleans up stack trace and removes all traces of node module packages

Type: Boolean
Default: true

random

Run specs in semi-random order

Type: Boolean
Default: false

stopOnSpecFailure

Stops spec execution on first fail (other specs continue running)

Type: Boolean
Default: false

Development

All commands can be found in the package.json. The most important are:

Watch changes:

$ npm run watch

Run tests:

$ npm test

# run test with coverage report:
$ npm run test:cover

Build package:

$ npm build

For more information on WebdriverIO see the homepage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].