2.3.0 • Published 1 year ago

yattex v2.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Yattex CLI based test tool

Commands to run:

  • npm install
  • In your test script add yattex
  • npm test

How it works.

We are using mocha js and jest for testing. For reporting we use mochawesome reporters and for jest we use Jest-stare.

when we start testing using this " npm test " user need to input custom test decorators on console and after this all the test case run and store results in .yattex/run-{timestamp} folder. All the work done on real time.

After test case completed our tool command, its generate .yattex folder and .yattex/run-${timestamp} folder. Inside .yattex/run-${timestamp} this folder add custom decorators list in decorators.json file. This tool also check if this project have a git then it create a git.json file and store git branch name and project name inside it.

In Cypress, to add screenshots to the Html report, add this on top of the cypress/support/e2e.js file

import addContext from "mochawesome/addContext";

After that add this block:

Cypress.on("test:after:run", (test, runnable) => {
  if (test.state === "failed") {
    const screenshot = `../../cypress/screenshots/${Cypress.spec.name}/${runnable.parent.title} -- ${test.title} (failed).png`;
    addContext({ test }, screenshot);
  }
});
2.3.0

1 year ago

2.2.9

1 year ago

2.2.8

1 year ago

2.2.7

1 year ago

2.2.6

1 year ago

2.2.5

1 year ago

2.2.4

1 year ago

2.2.3

1 year ago

2.2.2

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.4.9

1 year ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.6

1 year ago

1.4.5

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

2 years ago