How I can add information about story id to Scenarion by using allure-cucumber-jvm-adaptor? - allure

I have feature files with sceneries :
Feature: <description of feature>
#Story-1
Scenarion: first
Given ....
When ...
Then ...
#Story-2
Scenarion: second
Given ....
When ...
Then ...
How I can add information about story to allure report? Is it possible to add it to scenario name only in report? I can`t find information about how to work with cucumber tags and allure report.

I fix problem in new cucumber allure plugin. Add annotation before scenario.
#TestCaseId("Test-1001")
Link to new plugin:
Maven repo: http://search.maven.org/#artifactdetails%7Ccom.github.kirlionik%7Callure-cucumber-plugin%7C1.0.1%7Cjar
GitHub wiki: https://github.com/kirlionik/allure-cucumber-plugin/wiki

Related

Create Codename One Form in Maven

I migrated my project to Maven and noticed that right click -> New -> Codename One Resource file/Container/Dialog/Form is not there anymore.
This is what I have now:
Where did it move?
Thanks a lot.
There is a maven goal for this but it isn't exposed in the GUI.
https://shannah.github.io/codenameone-maven-manual/#create-gui-form
Basic usage:
mvn cn1:create-gui-form -DclassName=com.example.MyForm
Steve's answer is correct, but note that com.example.MyForm part must be in quotes "",
mvn cn1:create-gui-form -DclassName="com.example.MyForm"
Otherwise there will be an error.

How do I find the name of the asset to add to Bowerfile

Sorry this is a super noob Bower question, but Google is really not turning anything up here.
How do I know the name of the library to include in my Bowerfile?
For example:
I want AngularJS. So I add asset 'angular' to my Bowerfile because I read it in a tutorial.
Now I want to add D3js. I found this bower.json in D3's github repo: https://github.com/mbostock/d3/blob/master/bower.json. Since its name is 'd3', does that mean I just add asset 'd3' to my bowerfile?
Is there some public site like that lists all the Bower components? For example with Ruby Gems there is RubyGems.org. For PHP's composer there is https://packagist.org/.
There is a list of package names ( the things you should include) here:
http://bower.io/search/
Also, yes, the 'name' attribute of the bower.json in some official repository whose code you want will match the asset you need to install.
The bower command line tool also has a search feature that will help you. Read this:
http://blog.teamtreehouse.com/getting-started-bower
Hope that helps. Post your bower.json up and what commands you are trying if it doesn't seem right.

How to add an Action in Jenkins Build page

How can I add information on the main section of a build page? Which class do I need to implement?
(I've already managed to get my plugin working as a post-build step, on the project level and the build page left menu)
A summary.jelly was missing from the PluginBuildAction resource:
<j:jelly xmlns:j="jelly:core" xmlns:d="jelly:define" xmlns:l="/lib/layout"
xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<t:summary icon="orange-square.png">
Surprise! <br/>
</t:summary>
</j:jelly>

Unable to find the features file?

I am running Cucumber JVM for a POC with Selenium 2.37.
The folder structure of my project as follows
src
>> main
> test
>java
>package
>TestRunner.java
>StepfDef.java
>resource
>package
>bdddemo.features
When i run the test runner via Junit, i am getting the following error message.
cucumber.runtime.CucumberException:
No features found at [classpath:test/java/com/package]
I believe the folder structure has some issue.
Can anybody post me where the Cucumber-JVM is actually looking for story files by default ?
By default, when using classpath:, Cucumber starts looking in the root of you classpath.
If you configure Cucumber to search in "classpath:features", you can put your features in src/test/resources/features.

AngularJS plugin for WebStorm

I am using AngularJS with WebStorm, and my question is:
How do I add the AngularJS plugin for intellisense keyword for the AngularJS directives in the JetBrains WebStorm?
These links may help you:
http://plugins.jetbrains.com/plugin/6971
http://blog.jetbrains.com/blog/2013/04/02/mastering-webstorm-for-angularjs-youtube-livestream-event-tuesday-april-9/
https://github.com/johnlindquist/angularjs-plugin
https://groups.google.com/forum/#!topic/angular/c_suah3j0Xc
http://pkozlowskios.wordpress.com/2012/07/15/live-templates-for-angular-js-in-webstorm/
Here is simple Steps to add Angular Plugin
Step 1 : Just download the JetBrains WebStorm plugin from http://plugins.jetbrains.com/plugin/6971
Step 2 : Goto the WebStorm File->Settings->IDE Settings->Plugins
Step 3 : Click Install plugin from disk and select the zip files
Step 4 : Restart the WebStorm
You are done :)
John recommends not to do it any other way than his but his instructions are as always a bit terse. I found this to be a much better guide. It repeats what john suggests. Note that this step is easy to miss if you dont remember to scroll:
Navigate to the bottom of the panel and select the “Browse Repositories..” button. This spawns a new window. Double click on the Angular.js plugin

Resources