Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5923795ED for ; Mon, 13 Feb 2012 09:40:15 +0000 (UTC) Received: (qmail 70623 invoked by uid 500); 13 Feb 2012 09:40:14 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 70157 invoked by uid 500); 13 Feb 2012 09:40:07 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 70141 invoked by uid 99); 13 Feb 2012 09:40:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 09:40:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of omarg.developer@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-ww0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 09:39:56 +0000 Received: by wgbdt11 with SMTP id dt11so2723030wgb.0 for ; Mon, 13 Feb 2012 01:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Xx7EaNPac32IR/YcP6kk0QxzgUdPdl/TlRX6CK7KO+s=; b=K7wGpjE6XXi8DNnrKW5Znp/Qyof4vVKbHu99oFLt1sY5C7EFPiLiN/G2DHFgdKfcMC lESfCwP/P1rZOfHSYrSWDeO2O3jc9JLOOYnIhv/436I0piCsTwu9fmdLegF29MbZzQxD 1lqit0dkn9whNouidgeH7D7Bs+DChZhfwlxww= MIME-Version: 1.0 Received: by 10.180.86.9 with SMTP id l9mr23164330wiz.15.1329125976477; Mon, 13 Feb 2012 01:39:36 -0800 (PST) Received: by 10.180.8.138 with HTTP; Mon, 13 Feb 2012 01:39:36 -0800 (PST) In-Reply-To: <4F38CA66.7030908@leichtgewicht.at> References: <4F38CA66.7030908@leichtgewicht.at> Date: Mon, 13 Feb 2012 01:39:36 -0800 Message-ID: Subject: Re: [DECISION] Unit Testing and Mocking Frameworks (was: [RT] Recommendation Unit-Test System?) From: Omar Gonzalez To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d044287beb08e0d04b8d54118 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044287beb08e0d04b8d54118 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Feb 13, 2012 at 12:31 AM, Martin Heidegger wrote: > +1 > > But we still have a practical problem: Even when FlexUnit is given to the > Flex SDK: Mockolate and > its dependencies are not. Those would be the first "external" libraries > that Apache Flex would rely > on. Flex can not be built without them. > > In my mind: Open source is open source: That means Apache can deploy other > projects too, if those > projects are under a compatible license: just publish the .swc with the > rest of the code. Right? > > Now I wonder: For deployment would a Category B license be enough? MIT? Or > is it necessary to be > of Apache compatible (BSD). > > yours > Martin. Here is the list of compatible licenses: http://www.apache.org/legal/3party.html#category-a and what to do when a dependency has incompatible licenses. http://www.apache.org/legal/3party.html#options -omar > > > > On 13/02/2012 09:04, Omar Gonzalez wrote: > >> After the discussion we had around unit testing and mocking frameworks we >> had two very generous offers from Michael Labriola (FlexUnit) and Drew >> Bourne (Mockolate/hamcrest-as3). >> >> Michael is awaiting feedback from a mentor (Bertrand was on the thread) on >> what the next steps would be to make a donation of the source code for >> FlexUnit. >> >> Drew offered to help with any issues we may encounter with Mockolate or >> hamcrest-as3 that would prevent us from using them as the libraries we use >> to test the Flex SDK. >> >> In light of these two generous offers from the authors of these libraries >> I >> think that FlexUnit, Mockolate, and hamcrest-as3 should be the libraries >> that we adopt as the testing libraries for the Flex SDK. >> >> My reasoning: >> >> - Multiple testing frameworks would be messy. >> - Managing build files with multiple testing frameworks could get messy. >> - Managing reports for unit tests from multiple testing frameworks could >> get messy. >> - Both authors for the frameworks have offered help or a donation to the >> project, I think we should take it! :) >> - FlexUnit is supported in Eclipse editors and IntelliJ >> - Mockolate can also verify using reflection, eliminating the concern of >> magic string usage >> >> Can we come to a consensus on these 3 libraries? This will allow people to >> comfortably get working on writing unit tests for the SDK. Nobody wants to >> refactor code unnecessarily, so I think we should decide on the libraries. >> >> What do you guys think? >> >> -omar >> >> > --f46d044287beb08e0d04b8d54118--