atom feed26 messages in org.apache.commons.devRe: Latka & Anteater
FromSent OnAttachments
Dmitri PlotnikovApr 24, 2002 7:06 am 
Scott SandersApr 24, 2002 6:33 pm 
Ivelin IvanovApr 24, 2002 7:20 pm 
Jeff TurnerApr 24, 2002 10:23 pm 
Craig R. McClanahanApr 24, 2002 10:25 pm 
Juozas BaliukaApr 24, 2002 11:14 pm 
di...@multitask.com.auApr 25, 2002 12:26 am 
Ivelin IvanovMay 15, 2002 8:26 pm 
Jeff TurnerMay 15, 2002 10:57 pm 
James StrachanMay 16, 2002 12:38 am 
Ivelin IvanovMay 16, 2002 6:29 am 
Morgan DelagrangeMay 16, 2002 8:31 am 
Morgan DelagrangeMay 16, 2002 8:41 am 
Ovidiu PredescuMay 16, 2002 10:38 am 
Jeff TurnerMay 16, 2002 4:21 pm 
Ivelin IvanovMay 17, 2002 11:09 am 
Morgan DelagrangeMay 17, 2002 11:17 am 
Ovidiu PredescuMay 17, 2002 11:26 am 
Ovidiu PredescuMay 17, 2002 11:32 am 
James StrachanOct 30, 2002 4:16 am 
Vincent MassolOct 30, 2002 4:26 am 
Janek BoguckiOct 30, 2002 6:17 am 
James StrachanOct 30, 2002 7:33 am 
Morgan DelagrangeOct 30, 2002 8:54 am 
Ovidiu PredescuOct 30, 2002 12:04 pm 
di...@multitask.com.auOct 30, 2002 3:47 pm 
Subject:Re: Latka & Anteater
From:Ivelin Ivanov (ive@apache.org)
Date:May 17, 2002 11:09:12 am
List:org.apache.commons.dev

Session/cookie support is essential indeed. I assumed it's supported in Anteater.

----- Original Message ----- From: "Jeff Turner" <je@socialchange.net.au> To: "Jakarta Commons Developers List" <comm@jakarta.apache.org> Sent: Thursday, May 16, 2002 6:21 PM Subject: Re: Latka & Anteater

On Thu, May 16, 2002 at 10:41:55AM -0500, Morgan Delagrange wrote:

----- Original Message ----- From: "Ivelin Ivanov" <ive@apache.org>

Jeff,

Thank you for the extensive response.

I am having hard time making a choice, but it appears that Anteater was built from scratch based on your experience with Latka and is therefore a more viable long term solution.

Nono.. Ovidiu Predescu wrote Anteater, in order to automate Cocoon testing (at least partly). Here is his initial post (2001-09-21) outlining the need, and proposed Ant-based solution:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100108643304886&w=2

I pointed Ovidiu to Latka, saying:

"Note that [Latka] doesn't use Ant. I suspect this is actually a good thing. Ant 1.x is not flexible enough to be easily repurposed as a http testing engine" - http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100121712029019&w=2

.. and how wrong I was ;P Ovidiu coded up Anteater in a remarkably short period of time, and announced an initial version here:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100221277132628&w=2

(Full cocoon-dev thread is at http://marc.theaimsgroup.com/?t=100108670400002&r=1&w=2)

So the point is, Anteater was done in full knowledge of Latka (and Cactus). Ovidiu just wanted to try the Ant approach, and proved rather spectactularly that it's a good one. Anteater is a shining example of successful opportunism, whereas Latka is a shining example of traditional software engineering, crafting a solution to a problem.

I don't know about that... :) I think the differences are greater than they appear; it depends on what your needs are. I'd try to enumerate which product is better for what, but it's open to interpretation and personal preference.

Objectivism is overrated ;) I'm sure anything you have to say would be useful for people choosing.

Can latka be used for writing complete test case scenarios: e.g. login, go through a product purchase, logout?

I've written tests like that. You can wrap tests in a "session" tag, which retains cookies and referers between requests. You can't tell Latka to fill out forms or push buttons, but you can set request parameters and request headers to simulate that kind of user activity.

Anteater doesn't have a <session> tag yet (it's in the TODO), so can't do this sort of thing.

Do you plan to include an option for JUnit reporting in Anteater similar to Latka's, so that tests can integrated with all other junit tests?

Yes that's planned, and there is already a <formatter> element implemented, but I've never seen it working. Ovidiu might know more.

--Jeff

At some point, Latka will probably come with an Ant task.

Regards,

Ivelin