Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.

Parameters processing #286

Merged
merged 1 commit into from
Jun 24, 2014
Merged

Parameters processing #286

merged 1 commit into from
Jun 24, 2014

Conversation

baev
Copy link
Member

@baev baev commented Jun 23, 2014

add@Parameter annotation. Values of field with this annotation will be added to report as parameters.

An example:

@Parameter("My Param")
private String myParameter;

@Test
public void suite2Test() throws Exception {
    myParameter = "papa";
    myParameter = "mapa";
    myParameter = "mama";
}

In report will looks like
2014-06-23 14 35 19

Also provide system parameters for each testcase

@baev baev changed the title add parameters processing Parameters processing Jun 23, 2014
public class AllureParametersAspects {

@Pointcut("@annotation(ru.yandex.qatools.allure.annotations.Parameter)")
public void withAttachmentAnnotation() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

withAttachment?

@lanwen
Copy link
Contributor

lanwen commented Jun 24, 2014

Looks good for me 👍

baev added a commit that referenced this pull request Jun 24, 2014
@baev baev merged commit c39125f into allure-framework:master Jun 24, 2014
@baev baev deleted the parameters branch June 25, 2014 11:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants