Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
pyUnitPerf
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Grig  
View profile  
 More options Dec 28 2004, 9:47 pm
Newsgroups: comp.lang.python
From: "Grig" <grig.gheorg...@gmail.com>
Date: 28 Dec 2004 18:47:45 -0800
Local: Tues, Dec 28 2004 9:47 pm
Subject: pyUnitPerf
I just released a Python port of Mike Clark's JUnitPerf. I called it
pyUnitPerf and it's available at
http://sourceforge.net/projects/pyunitperf. It is in a very early stage
of development, but I think it's pretty usable (and useful) as it is.

I already received an interesting comment from a hard-core Python user
from Switzerland:

"Problem with porting patterns/api's from java straight to python is
that most of the outcome feels unpythonic. I'll not go about my own
feelings python vs. java here now, but I just want to point out that
there's already a rather large core of hard-python users who refuse to
use pyUnit because of this, and pyUnitPerf's doomed to share this fate,
unless of course somebody decides along the way to make it sexy and
pythonic and takes on the trouble of lowering the red-flag again which
java has become to lots of folks."

My own experience with pyUnit has been very satisfactory and for me
personally pyUnitPerf scratches an itch.

I'm curious to find out more about people's feelings and opinions on
this. I don't want to begin a flame war, but my personal take on it is
that the various Java-based test frameworks are very useful and there's
a lack of corresponding frameworks in Python. I'm thinking about tools
such as HTTPUnit, Cactus, Abbot, The Grinder, and there are many
others. I'm happy to see Jython being used more and more in such tools
though (The Grinder, Test Maker, Marathon).

Grig


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roy Smith  
View profile  
 More options Dec 28 2004, 9:56 pm
Newsgroups: comp.lang.python
From: Roy Smith <r...@panix.com>
Date: Tue, 28 Dec 2004 21:56:52 -0500
Local: Tues, Dec 28 2004 9:56 pm
Subject: Re: pyUnitPerf

"Grig" <grig.gheorg...@gmail.com> wrote:
> "Problem with porting patterns/api's from java straight to python is
> that most of the outcome feels unpythonic. I'll not go about my own
> feelings python vs. java here now, but I just want to point out that
> there's already a rather large core of hard-python users who refuse to
> use pyUnit because of this,

I'm curious what people find "un-pythonic" about PyUnit?  I've used it,
and while some parts of it seem a little over-complex to me, I don't see
anything about it which is inherently un-pythonic.  Is this just a case
of Not Invented Here?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Thompson  
View profile  
 More options Dec 28 2004, 10:42 pm
Newsgroups: comp.lang.python
From: Mike Thompson <none.by.e-mail>
Date: Wed, 29 Dec 2004 14:42:09 +1100
Local: Tues, Dec 28 2004 10:42 pm
Subject: Re: pyUnitPerf

Roy Smith wrote:
> "Grig" <grig.gheorg...@gmail.com> wrote:

>>"Problem with porting patterns/api's from java straight to python is
>>that most of the outcome feels unpythonic. I'll not go about my own
>>feelings python vs. java here now, but I just want to point out that
>>there's already a rather large core of hard-python users who refuse to
>>use pyUnit because of this,

> I'm curious what people find "un-pythonic" about PyUnit?  I've used it,
> and while some parts of it seem a little over-complex to me, I don't see
> anything about it which is inherently un-pythonic.  Is this just a case
> of Not Invented Here?

I've seen 'py.test' proposed as as a more pythonic unit test framework.
So its design may provide you with some clues.  It can be found at:

http://codespeak.net/py/current/doc/test.html#starting-point-py-test-...

As far as I can see, the defining feature of py.test is the simplicity
of the API.  Its impressively absent.

--
Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dieter Maurer  
View profile  
 More options Dec 30 2004, 2:05 pm
Newsgroups: comp.lang.python
From: Dieter Maurer <die...@handshake.de>
Date: 30 Dec 2004 20:05:54 +0100
Local: Thurs, Dec 30 2004 2:05 pm
Subject: Re: pyUnitPerf
"Grig" <grig.gheorg...@gmail.com> writes on 28 Dec 2004 18:47:45 -0800:

> ...
> My own experience with pyUnit has been very satisfactory and for me
> personally pyUnitPerf scratches an itch.

We use "pyUnit" extensively and are mostly satisfied.

There is one essential problem we hit more often: setting up
and tearing down can take excessive time.
Often, we are forced to abandon the test independence
and let a complete set of tests share the main part of the fixture.

--
Dieter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Hansen  
View profile  
 More options Dec 31 2004, 4:20 pm
Newsgroups: comp.lang.python
From: Peter Hansen <pe...@engcorp.com>
Date: Fri, 31 Dec 2004 16:20:32 -0500
Local: Fri, Dec 31 2004 4:20 pm
Subject: Re: pyUnitPerf

Dieter Maurer wrote:
> We use "pyUnit" extensively and are mostly satisfied.

> There is one essential problem we hit more often: setting up
> and tearing down can take excessive time.
> Often, we are forced to abandon the test independence
> and let a complete set of tests share the main part of the fixture.

That's not an issue with the framework, though, is it?
Just with your specific tests and application?

-Peter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »