[arquillian-issues] [JBoss JIRA] (ARQ-1703) Add annotation to add comments to test report

Stefan Miklosovic (JIRA) issues at jboss.org
Tue Mar 11 10:34:04 EDT 2014


    [ https://issues.jboss.org/browse/ARQ-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12952003#comment-12952003 ] 

Stefan Miklosovic commented on ARQ-1703:
----------------------------------------

in upstream and resolving https://github.com/arquillian/arquillian-recorder/commit/3a55c1783573b62bd495ea665bc571fbd3d7cb8b

use it like

{code}
    @Test
    @ReportMessage("This test should be executed manually too")
    public void throwExceptionTest() {
        Assert.assertTrue(true);
    }
{code}

It will be added to the method report properties when non-empty.
                
> Add annotation to add comments to test report
> ---------------------------------------------
>
>                 Key: ARQ-1703
>                 URL: https://issues.jboss.org/browse/ARQ-1703
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Recorder
>            Reporter: Alex Soto
>            Priority: Minor
>
> Sometimes when you write some automatic tests, you also want that QA team execute them manually, maybe because that business case is critical or because automatic test can only cover one part.
> So it would be good if for example we could annotate test method with an annotation like:
> @Report("This test should be executed manually too")
> And then this message may be available on reporter class and could be written to report.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list