Giter VIP home page Giter VIP logo

mocha-allure2-example's Introduction

Allure 2 Mocha Report Examples

This project demonstrates how to use allure-js with the official allure-decorators module. Note that it's based on the previous ts-test-decorators implementation.

Usage

Dependencies installation and tests execution:

npm install
npm test

Test results report generation and opening:

npm run allure-report

Note that .env was pushed to show how to deal with TMS_URL / PMS_URL environment variables required to be set while working with @issue / @testCaseId decorators.

image

mocha-allure2-example's People

Contributors

dependabot[bot] avatar sskorol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mocha-allure2-example's Issues

Cypress integration with allure2 and ts-test-decorator

Hello,

I want to use ts-test-decorator apply for cypress test but I got this error:
Error: Cannot find module './scripts/package-json-cullify' from 'C:\Users\fraser\code\node_modules\mocha'

Is there any way to resolve issue or example for writing test in cypress using OOP style from ts-test-decorator and generating allure report after test ?

Thanks

WDIO Testrunner - Allure reporter

Based on the documentation here the allure instance on the WDIO API for testrunner implementations using Mocha, is slightly different than the one provided here.

Is there any way of implementing this as the main reporting tool on a WDIO using mocha as the testrunner?

How use @data for DDA?

Hi, I haven`t experience with typescript and decorators.
Could you advice, how use decorator data for dda?
For example if I want return no one object from testdata(), but array of objects that Test will been executed for each objects in array ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.