From imperius-dev-return-74-apmail-incubator-imperius-dev-archive=incubator.apache.org@incubator.apache.org Thu Jan 10 19:33:39 2008 Return-Path: Delivered-To: apmail-incubator-imperius-dev-archive@locus.apache.org Received: (qmail 59270 invoked from network); 10 Jan 2008 19:33:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 19:33:39 -0000 Received: (qmail 82622 invoked by uid 500); 10 Jan 2008 19:33:28 -0000 Delivered-To: apmail-incubator-imperius-dev-archive@incubator.apache.org Received: (qmail 82610 invoked by uid 500); 10 Jan 2008 19:33:28 -0000 Mailing-List: contact imperius-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: imperius-dev@incubator.apache.org Delivered-To: mailing list imperius-dev@incubator.apache.org Received: (qmail 82601 invoked by uid 99); 10 Jan 2008 19:33:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 11:33:28 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 19:33:16 +0000 Received: (qmail 9817 invoked from network); 10 Jan 2008 13:25:56 -0600 Received: from 72-19-171-38.static.mesanetworks.net (HELO ?192.168.3.104?) (72.19.171.38) by halosg.com with SMTP; 10 Jan 2008 13:25:56 -0600 Message-ID: <478672F6.3020200@apache.org> Date: Thu, 10 Jan 2008 12:33:10 -0700 From: Filip at Apache Reply-To: fhanik@apache.org User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: imperius-dev@incubator.apache.org Subject: Re: test cases References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org don't sweat it :) as with everything the ASF does, it does in public, takes a while to get used to, Filip Neeraj Joshi wrote: > Hey All, > Sorry for my ignorance I wasn't aware that this is highly discouraged! > I'll stick to posting on the list. > Thanks > Neeraj > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "Those are my principles. If you don't like them I have others." > > http://incubator.apache.org/imperius > > Neeraj Joshi > Autonomic Computing Policy Development > Tivoli, IBM > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Filip at Apache > 01/10/2008 11:45 AM > Please respond to > imperius-dev@incubator.apache.org > > > To > imperius-dev@incubator.apache.org > cc > > Subject > Re: test cases > > > > > > > Neeraj Joshi wrote: > >> Hi Erik, >> So the sample policies were designed as test cases to test the major >> features of SPL. >> That was one of the reasons why they were part of the JavaSPL module >> initially (shipping them as samples was an after thought). >> We have a couple of 'ComputerSystem' related polices those are more >> > like > >> samples (and there are no junit tests associated with them) >> >> I agree that pure unit tests that don't require visual inspection would >> > be > >> ideal but IMO its a non-trivial task. If you like we can setup >> > conference > >> calls to discuss this in more detail? >> >> > you don't wanna do that, not good for the community. even IRC is > questionable, but more acceptable as you can post the log here. > the thing with both calls and IRC, you can't make any decisions (none > that are valid), so what ever you discuss, you need to bring back here, > if there needs to be a decision made > try to do as much as you can over the mailing lists > > Filip > >> Thanks >> Neeraj >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> "Those are my principles. If you don't like them I have others." >> >> http://incubator.apache.org/imperius >> >> Neeraj Joshi >> Autonomic Computing Policy Development >> Tivoli, IBM >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> >> >> "Erik Bengtson" >> 01/09/2008 03:25 PM >> Please respond to >> imperius-dev@incubator.apache.org >> >> >> To >> >> cc >> >> Subject >> test cases >> >> >> >> >> >> >> Hi, >> >> I'm promised to provide some test cases, but in the form the tests are >> coded >> now, you can only recognize failures by visual means. Secondly, the >> > tests > >> are not appropriately structured. See: >> >> Splcore has main classes and unit tests. OK >> Javaspl has main classes. OK >> JavaSPL-Samples has sample policies and sample API usage. It also has >> > unit > >> tests, but these can only be validated visually. >> >> I propose moving the tests from JavaSPL-Samples to JavaSPL, since >> > samples > >> should only contain samples, and rewrite these tests using junit >> assertions. >> >> I can patch those, but if beforehand you can review/apply the patches in >> JIRA it's great. >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.516 / Virus Database: 269.17.13/1214 - Release Date: >> > 1/8/2008 1:38 PM > > > > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.0/1216 - Release Date: 1/9/2008 10:16 AM >