Skip to content

Instantly share code, notes, and snippets.

@InfoSec812
Created October 6, 2018 02:59
Show Gist options
  • Select an option

  • Save InfoSec812/1a6c137ced8a5ef602171728affc3c3d to your computer and use it in GitHub Desktop.

Select an option

Save InfoSec812/1a6c137ced8a5ef602171728affc3c3d to your computer and use it in GitHub Desktop.
Passing Feature Specification For Vue.js using jest-cucumber
$ npm test
> my-new-application@0.1.0 test /home/dphillips/Documents/RedHat/Workspace/vuejs-bdd-primer
> vue-cli-service test:unit
PASS tests/unit/steps/Home.steps.js
Home Page
✓ Opening the initial web page (187ms)
-------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-------------|----------|----------|----------|----------|-------------------|
All files | 100 | 100 | 100 | 100 | |
Default.vue | 100 | 100 | 100 | 100 | |
-------------|----------|----------|----------|----------|-------------------|
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 1.911s
Ran all test suites.
jest-html-reporter >> Report generated (/home/dphillips/Documents/RedHat/Workspace/vuejs-bdd-primer/test-report.html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment