[arquillian-issues] [JBoss JIRA] Created: (ARQ-531) Allow Performance extension to measure @Deployment annotated methods

Karel Piwko (JIRA) jira-events at lists.jboss.org
Wed Jul 27 12:27:24 EDT 2011


Allow Performance extension to measure @Deployment annotated methods
--------------------------------------------------------------------

                 Key: ARQ-531
                 URL: https://issues.jboss.org/browse/ARQ-531
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Extension - Performance
            Reporter: Karel Piwko


It should be possible to use @Performance on @Deployment methods. This can impose some restrictions on container speed.

{code}
   @Deployment
   @Performance(relativeTime=10)
   public static JavaArchive createDeployment() {
       return ShrinkWrap.create(JavaArchive.class ,"test.jar")
               .addPackage(WorkHard.class.getPackage())
               .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
   }
   
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list