Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 97108 invoked from network); 28 Oct 2006 19:02:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2006 19:02:59 -0000 Received: (qmail 77825 invoked by uid 500); 28 Oct 2006 19:03:10 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 77500 invoked by uid 500); 28 Oct 2006 19:03:09 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 77487 invoked by uid 99); 28 Oct 2006 19:03:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 12:03:09 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of vegorov@bea.com designates 63.96.176.25 as permitted sender) Received: from [63.96.176.25] (HELO uslcmh01.bea.com) (63.96.176.25) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Oct 2006 12:02:56 -0700 Received: from ussjfe01.amer.bea.com (ussjfe01b.bea.com [172.16.120.57]) by uslcmh01.bea.com (Switch-3.2.2/Switch-3.2.2) with ESMTP id k9SJ2NHK008850 for ; Sat, 28 Oct 2006 15:02:32 -0400 Received: from repbex01.amer.bea.com ([10.160.26.98]) by ussjfe01.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 28 Oct 2006 12:01:56 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: FW: antunit branch for 1.6.x compatibility Date: Sat, 28 Oct 2006 12:01:55 -0700 Message-ID: <6E9C82D532D127439D866C042518277002940328@repbex01.amer.bea.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: antunit branch for 1.6.x compatibility Thread-Index: Acb6m+szPlrpo6nKSjGp0HTd12qTgwAGx+hQ From: "Vladimir Egorov" To: "Ant Developers List" X-OriginalArrivalTime: 28 Oct 2006 19:01:56.0279 (UTC) FILETIME=[89B8BC70:01C6FAC3] X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.10.26.181432 X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Stefan Bodewig [mailto:bodewig@apache.org] > Sent: Saturday, October 28, 2006 7:14 AM > To: dev@ant.apache.org > Subject: Re: FW: antunit branch for 1.6.x compatibility >=20 > On Tue, 24 Oct 2006, Vladimir Egorov wrote: >=20 > > TestLogic is an initiative by BEA Systems Inc. Tools team to provide > > an open source testing framework for the enterprise. >=20 > [...] >=20 > > The project is so far a private project on CodeShare. We are > > planning to open source when we reach some point of maturity >=20 > My personal advice would be to go public as soon as you can. It is > far easier to attract new contributors if the code base isn't too > polished and there are still obvious places to work on. Ok. I will see what I can do. > >> If there is enough interest we could certainly still create a 1.6 > >> compatible branch. > > > > From this posting I got a reply from Paul King, who explained that > > similar asserts are being used in WebTest project and that he would > > be interested to learn the outcome of this discussion. >=20 > Paul is subscribed here as well, haven't seen him chime in, yet. Here is a snippet from Paul's email where he told me about WebTest: > -----Original Message----- > From: Paul King [mailto:paulk@asert.com.au] > Sent: Friday, October 20, 2006 5:28 PM > To: Vladimir Egorov > Cc: Vishal Vishnoi; Gouri Pandeshwar > Subject: Re: antunit branch for 1.6.x compatibility [..] > WebTest is available at: http://webtest.canoo.com >=20 > It provides a complete testing framework for web applications, > web services and email systems. WebTest has the notion of a test > step. Each step is just an Ant task with a context and hooks for > reporting. At the moment WebTest assertions don't extend AntUnit. > They are all Ant Tasks and throw StepFailedException or > StepExecutionException if an assertion isn't met. This in turn > ties in with its reporting. At the moment we are looking at > whether the verification steps should be made more like AntUnit. > At the moment we don't want to give up Ant 1.6.5 compatibility > and we aren't willing to give away the excellent reporting > capabilities which WebTest is known for. >=20 > There are many assertion steps. They all begin with verify. > To give you a flavour, some of the ones related to web site > and Ajax application testing are: >=20 > verifyTitle,verifyText,verifyElement,verifyInputField > verifyLinks,verifyXPath,verifyCheckbox,verifyCookie >=20 > In your Ant script you would simply do: >=20 > > >=20 > There are other assertions as well, e.g. on a pdf document: >=20 > deny=3D"printing, modifyContents, copy, assembly"/> >=20 > Emails you can test fields, content and attachments. > Web Services you can test content and attachments using xpaths. > Excel documents you can verify content and formulas. Note how verify*s are similar to assert*s. Also: "we don't want to give up Ant 1.6.5 compatibility". Here is a snippet from Paul's last email on the subject. > -----Original Message----- > From: Paul King [mailto:paulk@asert.com.au] > Sent: Friday, October 20, 2006 10:30 PM > To: Vladimir Egorov > Cc: Vishal Vishnoi; Gouri Pandeshwar > Subject: Re: antunit branch for 1.6.x compatibility [..] > If you do decide on a technical direction for going forward on how > to represent your assertions (e.g. making them more aligned with > AntUnit assertions), I'd be keen to hear from you on just that piece > if that is deemed acceptable. I am likely to make changes to how > WebTest represents its assertions over the next few months and any > feedback on what you believe to be a useful direction would be welcome. This brings us to your next question. > Which parts of AntUnit would you use? > Only the assertions or the tasks and listeners as well? Currently we are only interested in asserts library. It is easy to write them, but it would not be good if the same thing was done differently in different projects. What is your take on this? I mean, some generic asserts are the same for AntUnit, WebTest, and TestLogic, but some are specific to the project. Do you think it is worth the effort to standardize on a common asserts library and what should be the extension mechanism? In the future, we may be interested in AntUnit runtime (task and listeners) as well, depending on the direction our project takes. --Vladimir _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org