Results 1 to 3 of 3

Thread: @RooIntegrationTest exclusions doesn't work

  1. #1
    Join Date
    Oct 2009
    Location
    San Francisco CA
    Posts
    42

    Default @RooIntegrationTest exclusions doesn't work

    I use STS 2.5.0.M3 with Roo 1.1.0.M3 on Windows 7, 64-bit java jdk 1.6.0_3


    Code:
    @RooIntegrationTest(entity = Bond.class, findAll=false, persist=false)
    when running maven test outside the roo shell or through "perform tests" in the roo shell, these tests are not exlcuded.

    database is MSSQLSERVER and provider is Hibernate.

  2. #2
    Join Date
    Dec 2005
    Posts
    929

    Default

    Please raise a Jira issue for this and I will take a look
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    Dec 2005
    Posts
    929

    Default

    After having a quick look, I can see it is working as designed. If you exclude tests by specifying them in the @RooTestIntegration annotation, you will notice that these tests are removed from the <class>_Roo_IntegrationTest.aj file when the Roo shell is running.
    Alan
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •