Giter Site home page Giter Site logo

ergoz / allure-to-testrail-exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from legionivo/allure-to-testrail-exporter

0.0 1.0 0.0 701 KB

Intellij Idea plugin which exports code with Allure @Step annotation into TestRail as a test case

License: MIT License

Java 100.00%

allure-to-testrail-exporter's Introduction

A plugin that exports test cases from Intellij Idea to TestRail using Allure @Step annotations.

Plugin is published here - https://plugins.jetbrains.com/plugin/13322-allure-to-test-rail-exporter/

Requirements:

JDK 8+

Gradle 5(optional, wrapper is included in project)

How to update:

  • Clone repo
  • Import project into Intellij Idea as a Gradle project - everything will be done automatically
  • Do code changes
  • Change plugin version in build.gradle
  • Run buildPlugin gradle task
  • Install new plugin from build/distributions/AllureToTestRailExporter-x.x.zip
  • Have fun

Plugin does update existing test case in TestRail - no need to delete it manually and export again!

Plugin was build to work only with the following libraries::

Junit 5
Allure
How to use:
Set up valid credentials in plugin settings under Tools - TestRail exporter plugin

Check that connection is successful

Open file with tests

Select desired test by putting a cursor on a test name - this is IMPORTANT

Push Alt - Insert combination

Select "Export to TestRail" menu item

TmsLink with testCase ID should be added

If you do not need test steps - enable "Export only test name" checkbox in plugin configuration settings

Code requirements:
@DisplayName annotation is mandatory - test case title is created from it
@Feature annotation on a test or class level is mandatory - TestRail section is linked to it:
 - If @Feature is present on a class and methods levels, method annotation is taken
 - If @Feature is not present on a class level, method annotation is taken
 - If conditions above are false - class annotation is taken 
@Link is not mandatory, but strongly advised
If you want to see nice test case - write nice @Step annotations  
Demo

allure-to-testrail-exporter's People

Contributors

legionivo avatar

Watchers

 avatar

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.