luisfi20
Visitor.
392 views

How to run a LeanFT cucumber project in ALM?

Hi,

I am trying to run a LeanFT Cucumber Test in ALM and since that there is no test code in LeanFtTest.java only in LeanFtStepsDefenition.java, when I run it comes with the following error:

.E
Time: 0,002
There was 1 failure:
1) initializationError(org.junit.runner.manipulation.Filter)
java.lang.Exception: No tests found matching Method 'LeanFtTest(XP.LeanFtTest)' from org.junit.internal.requests.ClassRequest@c0cdad
at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
at com.hp.singletestrunner.SingleTestRunner.main(SingleTestRunner.java:42)

FAILURES!!!
Tests run: 1, Failures: 1

 

However the test run perfectly in Eclipse. I have tryied everything, I don't want to create a junit test just to adapt my test to run. There is somehow to do this, please someone help me

0 Likes
2 Replies
Super Contributor.. LuisAlonso191 Super Contributor..
Super Contributor..

Re: How to run a LeanFT cucumber project in ALM?

Hello,

Based on an old case from a user asking for integrations between ALM and Cucumber, I found the below comment:

"HP ALM doesn’t handle the integration between it and Cucumber(Automation testing tool). In order to receive more information of how to integrate this two applications I recommend you to contact Cucumber support. I was doing further investigation however, I didn’t find how to integrate them.

For additional information you can check: https://cucumber.io/support" — SD01506613 

From other side, I have found that there is a relation with ALM Octane:

https://admhelp.microfocus.com/octane/en/latest/Online/Content/UserGuide/how_automate_gherkin.htm#mt-item-3

Hope this information will be helpful to understand the scenario.

 

 

 

 

0 Likes
luisfi20
Visitor.

Re: How to run a LeanFT cucumber project in ALM?

Do you have any idea how ALM assemble the line code to run a junit test. If I have this info I might trick ALM to run my code

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.