Skip to content

Cucumber tests designed to be reported back to ALM Octane

Notifications You must be signed in to change notification settings

admpresales/octane-gherkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

octane-gherkin

This script is a simple script to demonstrate the ability to have Cucumber tests results be reported back to Octane (via Jenkins). You will need to make sure to have the Jenkins Micro Focus Application Automation Tools plug in installed to perform the steps below

If you have an old version of the script or need to put the script in your devops container, use the following steps. Note: This step was intended for those who are leveraging the Micro Focus demo platform NImbus. This example can still be used if you are not using Nimbus simply by creating your Jenkins job to point at the octane-gherkin project as part of the build step.

docker exec devops bash -c "su -s /bin/bash -c 'git clone --mirror https://github.com/admpresales/octane-gherkin.git /gitrepo/octane-gherkin' apache"

In Jenkins, you will need to create a Freestyle job and checkout the project from your git repo.

I suggest you use the following for your Maven goals

Jenkins Build Section NOTE: You can change the execution options based on tags as explained in the TestRunner.java file

And enter the following for your Post Build actions

Jenkins Post Build Section

NOTE

Publish JUnit test result report

  • the file name shown above comes from the name used in the test project (src/test/java/net.mf/TestRunner) class

Octane Cucumber test reporter

About

Cucumber tests designed to be reported back to ALM Octane

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •