3 Replies Latest reply on Mar 15, 2013 8:49 AM by Peter Saly

    CDI @Alternative problem with Arquillian

    Roman Boris Newbie



      I've faced with next problem: trying to use CDI @Alternative with Arquillian Testing like shown in http://docs.jboss.org/weld/reference/latest/en-US/html/specialization.html

      If I inject alternatives directly to the Test - deployment error

      If I inject alternatives to some bean first and the to the Test - all works fine


      Test application is attached to the post.

      Just uncomment injection in AppTest and run test


      p.s.: the same error as for Bean alternatives and as for Stereotype alternatives.


      Is this my slip or arquillian bug? Thanks for replies.