This Polarion extension is designed to integrate BDD process into Polarion. It provides the almost same functionality as Xray plugin for Jira:
Important
Starting from version 2.0.0 only latest version of Polarion is supported. Right now it is Polarion 2606.
The latest version of the extension can be downloaded from the releases page and installed to Polarion instance without necessity to be compiled from the sources.
The extension should be copied to <polarion_home>/polarion/extensions/ch.sbb.polarion.extension.cucumber/eclipse/plugins and changes will take effect after Polarion restart.
Important
Don't forget to clear <polarion_home>/data/workspace/.config folder after extension installation/update to make it work properly.
…
<field id="description"/>
…
…
<extension id="cucumber" label="Cucumber Test"/>
…
…
<extension id="cucumber" label="Cucumber Test"/>
…
By default, Test Run's UI doesn't display its description (as a custom field). To enable displaying description following needs to be done:
This is a Test Run template, you cannot execute this test. Please create a Test Run first using this template
#if($testRun.fields().isTemplate().get())
$widgetContext.renderWarning("<b>This is a Test Run template</b>, you cannot execute this test. Please create a Test Run first using this template")
#end
#if($testRun.fields().records().is().empty() && $testRun.fields().selectTestCasesBy().optionId().equals("manualSelection"))
$widgetContext.renderInfo("Select the test cases you want to plan for execution by clicking Operations > Select Test Cases.")
#end
…
#if(!$testRun.fields().description().is().empty())
$testRun.fields.description.render().withText()
#end
Componentscomponents names for selected project:
Project Administration -> Work Items -> Enumerations--Unspecific--, Enumeration: Custom + provide own name e.g. componentsTA-Adapter, DailyTrainDataCalculator, ItisGateway, etcProject Administration -> Testing -> Test Run Custom Fieldscomponents, Name: Components, Type: Enum (+ select enum name created on step 1) and enable 'Multi' checkbox#if(!$testRun.fields().get("components").is().empty())
<h2>Components</h2>
$testRun.fields().get("components").render()
#end
Test PlanProject Administration -> Testing -> Test Run Custom Fieldsplans, Name: Test Plan, Type: Rich Text (multi-line)Test Plan field:
#if(!$testRun.fields().get("plans").is().empty())
<h2>Test plan</h2>
$testRun.fields().get("plans").render()
#end
Administration -> Plans -> Plan Custom Fields and create custom field using ID: testRunLinks, Name: Test Run Links, Type: Rich Text (multi-line)Plans -> select any plan and click ⚙ -> Customize Plan Report -> Customize Shared Report#if(!$plan.fields().get("testRunLinks").is().empty())
<h2>Test runs</h2>
$plan.fields().get("testRunLinks").render()
#end
Team-SBBAdministration -> Work Items -> Enumerations--Unspecific--, Enumeration: Custom + provide own name e.g. team_sbbAdler, Otter, Orca, etcAdministration -> Testing -> Test Run Custom Fieldsteam-sbb, Name: Team-SBB, Type: Enum (+ select enum name created on step 1)#if(!$testRun.fields().get("teamSBB").is().empty())
<h2>Team-SBB</h2>
$testRun.fields().get("teamSBB").render()
#end
This extension provides REST API. OpenAPI Specification can be obtained here.