2.3.0 • Published 3 years ago

yattex v2.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years 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

3 years ago

2.2.9

3 years ago

2.2.8

3 years ago

2.2.7

3 years ago

2.2.6

3 years ago

2.2.5

3 years ago

2.2.4

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.9

3 years ago

2.1.8

3 years ago

2.1.7

3 years ago

2.1.6

3 years ago

2.1.5

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.9

3 years ago

2.0.8

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.3.9

3 years ago

1.3.8

3 years ago

1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago