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 4213F200D32 for ; Sun, 5 Nov 2017 22:16:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3CE48160BE7; Sun, 5 Nov 2017 21:16:33 +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 5A90D1609EA for ; Sun, 5 Nov 2017 22:16:32 +0100 (CET) Received: (qmail 62707 invoked by uid 500); 5 Nov 2017 21:16:31 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 62694 invoked by uid 99); 5 Nov 2017 21:16:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2017 21:16:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 519D4180633 for ; Sun, 5 Nov 2017 21:16:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.38 X-Spam-Level: *** X-Spam-Status: No, score=3.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aT0N-yh5XoHw for ; Sun, 5 Nov 2017 21:16:26 +0000 (UTC) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 499755FE0E for ; Sun, 5 Nov 2017 21:16:26 +0000 (UTC) Received: by mail-yw0-f178.google.com with SMTP id i198so6357629ywe.7 for ; Sun, 05 Nov 2017 13:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=hldsckI2bZdK7Ktqu5jylz/vlHe1vhmI3rJcWrqnibo=; b=qRgUpJvKHoC6UzCNKr+LEsJUfWxNDCm2z6aax7EJw3O8o8sVVw4NneZr/C7NWUmBaF /6qwyQIWB+Z6/r3XXlSTOn89iSTJ5OmYs+NtO/CFsWy/nh41V8/EIa1pmjg+Ey+UxVzy HZmi5FwczJyI3a8TDyoFW6LuUWrbrSv4OSxV6ig3C41diTWKqk4mFi4u6NyEAAJYSzUP r5zllXP8ZF1atNMsdCp9Q3oRxFCaOUzwxwV+RNg0y20Hb0ZZm17VepgdE1Tg2aXdIQ4F 1x695zAOn1yRcKvqD4+fgFRQU8+y1pFVkc0hhgTfIa55ciGJXhbHnOyTNuph9xfHolIK gEVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=hldsckI2bZdK7Ktqu5jylz/vlHe1vhmI3rJcWrqnibo=; b=ZKj272RxHT8ZQEj6jOnasHdH/Cyg7N9MzKHFM2AH+8bxBd44I3IRBTapWMCwqUxcgl RGE51SwibXrh4lt5ZHoT47aemkBcNEHbeIYUxyCNgnKWnUDD33kZIzS2CDIsSL2hvm84 EEeYGemHQZ9muqt1DgJkaVswzZnv+ZHaXdkBNiKZTvPmDkEbcGkmto9S2oI9uqtZvZ6B N0dPSowx3KUxRufRC6uguEytFlytRB529tsQGbdNUDutTRzQ2sIARZqfCii5Dr9V9ldV AiBp0ekCKte0Db3oV7z45PoAHJRvAa3RnSmO5IWtIB1N1cveeq6wLPTI1RJwxoFaUVh5 RlNw== X-Gm-Message-State: AMCzsaUccy0WLWoC72H/ukn0yYuqnNatoMegPWciQsusitoIcQTaxU0x fEaW3G1gh+/QLKbYy6+54dHYsIs4gKu1OAwS1Fo= X-Google-Smtp-Source: ABhQp+S2CyEazIBxwokST06wT5IoThdcJ1yW4tV1ORxtsKn0L+r2Ofd0W/IaaKcEwfLXTdh1wP8LHf9YNFvXIyQ76Iw= X-Received: by 10.13.232.13 with SMTP id r13mr8575958ywe.39.1509916579946; Sun, 05 Nov 2017 13:16:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.5.149 with HTTP; Sun, 5 Nov 2017 13:16:18 -0800 (PST) Received: by 10.37.5.149 with HTTP; Sun, 5 Nov 2017 13:16:18 -0800 (PST) In-Reply-To: References: <940073643.2681867.1509770499685@mail.yahoo.com> <59ff64a7.d23f1c0a.e45a9.0a28@mx.google.com> From: Romain Manni-Bucau Date: Sun, 5 Nov 2017 22:16:18 +0100 Message-ID: Subject: Re: AW: [PROPOSAL][test] Apache Commons JUnit To: Commons Developers List Content-Type: multipart/alternative; boundary="94eb2c08827063659e055d42d981" archived-at: Sun, 05 Nov 2017 21:16:33 -0000 --94eb2c08827063659e055d42d981 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable @Mark: this is already not the case and users are used to gather them putside Junit. Also it is pby as true as saying it would be easier to push commons in openjdk directly no? I see a lot of values to have a uniform backbone - rule API - and making it easy to reuse accross test stacks so commons testing really makes sense for me on the long term even if v1 target junit 4 only. Le 5 nov. 2017 21:21, "Mark Fortner" a =C3=A9crit : Just out of curiosity, wouldn't it be easier (and more intuitive) for users of JUnit to find a collection of JUnit-related tools on the JUnit project site? Regards, Mark On 5 Nov 2017 11:51 a.m., "Romain Manni-Bucau" wrote: > This is a bit different since my case was to get annoutput of where a tes= t > can lock and not a diff. But technically it is close. > > Le 5 nov. 2017 20:21, "Bernd Eckenfels" a =C3=A9= crit : > > > Hello, > > > > > > commons-vfs does this (at the Moment it only dumps the threads and does > > not break the build) > > > > https://github.com/apache/commons-vfs/blob/trunk/ > > commons-vfs2/src/test/java/org/apache/commons/vfs2/test/ > > AbstractTestSuite.java#L213 > > > > > > Gruss > > Bernd > > -- > > http://bernd.eckenfels.net > > > > Von: Romain Manni-Bucau > > Gesendet: Sonntag, 5. November 2017 16:31 > > An: Commons Developers List > > Betreff: Re: [PROPOSAL] Apache Commons JUnit > > > > This daemon thing is interesting, I something similar to dump each N > > seconds threads to investigate some tests locking on a CI. Can goes > > there as well probably. > > > > Romain Manni-Bucau > > @rmannibucau | Blog | Old Blog | Github | LinkedIn > > > > > > 2017-11-05 16:23 GMT+01:00 Gary Gregory : > > > On Sat, Nov 4, 2017 at 11:12 AM, Gary Gregory > > > wrote: > > > > > >> So are you advocating for a multi-module project? > > >> > > >> - commons-testing > > >> - commons-testing-junit4 > > >> - commons-testing-junit5 > > >> > > >> ? > > >> > > >> Gary > > >> > > >> > > >> On Sat, Nov 4, 2017 at 10:58 AM, Bernd Eckenfels < > > ecki@zusammenkunft.net> > > >> wrote: > > >> > > >>> I like the idea (and prefer Commons Testing), for example a method to > > >>> list all non-daemon threads after a test run (to see there is no > > resource > > >>> leak) can be used independent of the Unit Test Framework. > > >>> > > >> > > > Do you have such a gadget? > > > > > > Gary > > > > > > > > >> > > >>> Gruss > > >>> Bernd > > >>> -- > > >>> http://bernd.eckenfels.net > > >>> ________________________________ > > >>> From: Hasan Diwan > > >>> Sent: Saturday, November 4, 2017 5:42:39 PM > > >>> To: Commons Developers List > > >>> Subject: Re: [PROPOSAL] Apache Commons JUnit > > >>> > > >>> How about "Apache Commons Testing"? -- H > > >>> > > >>> On 4 November 2017 at 09:10, Gary Gregory > > wrote: > > >>> > > >>> > On Sat, Nov 4, 2017 at 9:32 AM, Pascal Schumacher < > > >>> > pascalschumacher@gmx.net> > > >>> > wrote: > > >>> > > > >>> > > JUnit 5 is not backwards compatible (Package/Annotation-Names > have > > >>> > > changed, Rules were replaced by a new extension model), but it > can > > run > > >>> > > JUnit 3 and JUnit 4 Tests if you add an additional dependency. > See > > >>> > > http://junit.org/junit5/docs/current/user-guide/#migrating-f > > >>> rom-junit4 > > >>> > > for details. > > >>> > > > >>> > > > >>> > OK, so "Apache Commons Extras for Junit 4" > > >>> > > > >>> > Gary > > >>> > > > >>> > > > >>> > > > > >>> > > > > >>> > > Am 04.11.2017 um 15:53 schrieb Gary Gregory: > > >>> > > > > >>> > >> I am assuming that JUnit 5 will be backward compatible with > JUnit > > 4, > > >>> I > > >>> > >> might be wrong. I'd like to focus on a single dependency for now > > >>> (JUnit) > > >>> > >> and not do a multi-module project. If someone want to do the > same > > for > > >>> > >> TestNG, then have at it. KISS and small for 1.0. > > >>> > >> > > >>> > >> Gary > > >>> > >> > > >>> > >> On Fri, Nov 3, 2017 at 10:41 PM, Bruno P. Kinoshita < > > >>> > >> brunodepaulak@yahoo.com.br.invalid> wrote: > > >>> > >> > > >>> > >> +1 for the idea and for looking at JUnit 5.x and maybe AssertJ= . > > >>> > >>> CheersBruno > > >>> > >>> > > >>> > >>> From: Matt Sicker > > >>> > >>> To: Commons Developers List > > >>> > >>> Sent: Saturday, 4 November 2017 1:44 PM > > >>> > >>> Subject: Re: [PROPOSAL] Apache Commons JUnit > > >>> > >>> > > >>> > >>> I certainly like the idea, especially if the docs are good > about > > >>> > pulling > > >>> > >>> in > > >>> > >>> other related dependencies to complement the whole thing. > General > > >>> > >>> resource > > >>> > >>> management rules would be great, though, like the ones we hav= e > in > > >>> > Log4j. > > >>> > >>> > > >>> > >>> Also, I haven't looked closely at it yet, but supporting JUni= t > > 5.x > > >>> as > > >>> > >>> well > > >>> > >>> would be nice. > > >>> > >>> > > >>> > >>> On 3 November 2017 at 18:11, Gary Gregory < > > garydgregory@gmail.com> > > >>> > >>> wrote: > > >>> > >>> > > >>> > >>> Hi All, > > >>> > >>>> > > >>> > >>>> I'd propose we start a new component called "Apache Commons > > JUnit". > > >>> > >>>> > > >>> > >>>> The goal would be to gather useful and reusable code like > JUnit > > >>> rules. > > >>> > >>>> > > >>> > >>>> This component would be focused on JUnit 4.x only. > > >>> > >>>> > > >>> > >>>> For example: org.apache.commons.collections4.junit. > > >>> > >>>> SetDefaultLocaleTestRule > > >>> > >>>> > > >>> > >>>> I have other rules stashed here and there as well, for > example a > > >>> Set > > >>> > >>>> Default Charset Rule. > > >>> > >>>> > > >>> > >>>> Thoughts? > > >>> > >>>> > > >>> > >>>> Gary > > >>> > >>>> > > >>> > >>>> > > >>> > >>> > > >>> > >>> -- > > >>> > >>> Matt Sicker > > >>> > >>> > > >>> > >>> > > >>> > >>> > > >>> > >>> > > >>> > >>> > > >>> > > > > >>> > > ------------------------------------------------------------ > > --------- > > >>> > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > >>> > > For additional commands, e-mail: dev-help@commons.apache.org > > >>> > > > > >>> > > > > >>> > > > >>> > > >>> > > >>> > > >>> -- > > >>> OpenPGP: > > >>> https://sks-keyservers.net/pks/lookup?op=3Dget&search=3D > 0xFEBAD7FFD041BBA1 > > >>> If you wish to request my time, please do so using > > >>> http://bit.ly/hd1ScheduleRequest. > > >>> Si vous voudrais faire connnaisance, allez a > > >>> http://bit.ly/hd1ScheduleRequest. > > >>> > > >>> > 0xFEBAD7FFD041BBA1 > > >>> >Sent > > >>> from my mobile device > > >>> Envoye de mon portable > > >>> > > >> > > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > > --94eb2c08827063659e055d42d981--