28.0.4 • Published 2 years ago

@assurka/jest v28.0.4

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
2 years ago

Assurka Studio - Jest Plugin

Plugin to allow jest to integrate to Assurka Studio

Installation

yarn add -D @assurka/jest

or

npm install -D @assurka/jest

Usage

Add to jest config or package.json. I recommend using it with the default reporter.

// package.json
{
  "jest": {
    "reporters": [
      "default",
      [
        "@assurka/jest",
        {
          "assurka": {
            "projectId": "",
            "secret": "",
            "testPlanId": ""
          }
        }
      ]
    ],
    "globalSetup": "@assurka/jest/dist/globalSetup.js",
    "globalTeardown": "@assurka/jest/dist/globalTeardown.js"
  }
}
// jest.config.js
module.exports = {
  reporters: [
    'default',
    [
      '@assurka/jest',
      {
        assurka: {
          projectId: '',
          secret: '',
          testPlanId: ''
        }
      }
    ]
  ],
  globalSetup: '@assurka/jest/dist/globalSetup.js',
  globalTeardown: '@assurka/jest/dist/globalTeardown.js'
}

Configuration

To get your Assurka configuraiton settings projectId, secret and testPlanId please create your account at https://studio.assurka.com

Local Testing with Test Plans

The testPlanId can be overridden by setting the following environment variable

export __ASSURKA_TESTPLAN_ID__=

License

Copyright © 2022 Assurka Limited

28.0.4

2 years ago

28.0.3

2 years ago

28.0.2

2 years ago

28.0.1

2 years ago

27.0.3

2 years ago

27.0.2

2 years ago

27.0.1

2 years ago

27.0.0

2 years ago

26.0.11

2 years ago

26.0.10

2 years ago

26.0.9

2 years ago

26.0.7

2 years ago

26.0.6

2 years ago

26.0.5

2 years ago

26.0.4

2 years ago

26.0.3

2 years ago

26.0.2

2 years ago

26.0.1

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago