Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 96DB7200D17 for ; Sun, 8 Oct 2017 18:54:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9559A1609E6; Sun, 8 Oct 2017 16:54:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DB4D11609D3 for ; Sun, 8 Oct 2017 18:54:50 +0200 (CEST) Received: (qmail 79488 invoked by uid 500); 8 Oct 2017 16:54:50 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 79478 invoked by uid 99); 8 Oct 2017 16:54:49 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Oct 2017 16:54:49 +0000 Received: from mail-ua0-f169.google.com (mail-ua0-f169.google.com [209.85.217.169]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 8E8D91A0055 for ; Sun, 8 Oct 2017 16:54:48 +0000 (UTC) Received: by mail-ua0-f169.google.com with SMTP id 88so9340204uar.0 for ; Sun, 08 Oct 2017 09:54:47 -0700 (PDT) X-Gm-Message-State: AMCzsaVkAtYnrqCWqaCbjqOWY8j2f8ctJZkv9z4rWnayFgGTmQPNNexC EiogZG5nn+hcOg/LdZYbN6L1dob/7br0ghWF6Pg= X-Google-Smtp-Source: AOwi7QB84kFJDyze8CA27uBHUP+QetK5yq2SXRhBoYDCWhcAKZ3prEPyu8WcoxGlPBuJMOF1FzYmdxwU6c2IVXtdpFw= X-Received: by 10.176.11.2 with SMTP id b2mr3862822uak.80.1507481686896; Sun, 08 Oct 2017 09:54:46 -0700 (PDT) MIME-Version: 1.0 From: "John D. Ament" Date: Sun, 08 Oct 2017 16:54:36 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Better ways to add to an Arquillian deployment? To: "dev@geronimo.apache.org" Content-Type: multipart/alternative; boundary="089e0826f21473f51c055b0bee0b" archived-at: Sun, 08 Oct 2017 16:54:51 -0000 --089e0826f21473f51c055b0bee0b Content-Type: text/plain; charset="UTF-8" Hey guys (maybe Mark specifically?) A number of people have been copying the pattern you helped create, where we use an archive appender in Arquillian to add test classes. This works, however it causes an issue. I opened a bug against Arquillian, because deployments that expect exceptions to be thrown are not testable. Deployments that are not testable do not execute archive appenders. I have a proposed fix, but the API is ugly. So I'm wondering, are there any other ideas to get tests running when deployment exceptions are expected? Otherwise I think I'll end up having to import the tests and modify them to mirror the results. It will mean needing to duplicate this group of tests: https://github.com/apache/geronimo-safeguard/blob/master/safeguard-tck-tests/pom.xml#L80-L96 John --089e0826f21473f51c055b0bee0b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey guys (maybe Mark specifically?)

A n= umber of people have been copying the pattern you helped create, where we u= se an archive appender in Arquillian to add test classes.=C2=A0 This works,= however it causes an issue.

I opened a bug agains= t Arquillian, because deployments that expect exceptions to be thrown are n= ot testable.=C2=A0 Deployments that are not testable do not execute archive= appenders.=C2=A0 I have a proposed fix, but the API is ugly.=C2=A0=C2=A0

So I'm wondering, are there any other ideas to = get tests running when deployment exceptions are expected?=C2=A0 Otherwise = I think I'll end up having to import the tests and modify them to mirro= r the results.=C2=A0 It will mean needing to duplicate this group of tests:= =C2=A0https://github.com/apache/geronimo-safe= guard/blob/master/safeguard-tck-tests/pom.xml#L80-L96

John
--089e0826f21473f51c055b0bee0b--