"Steven D'Aprano" wrote
And we still wound up with over 50 reported bugs during Beta
test...
But that was much better than the 2000 bugs on an earlier project
:-)
But testing is hard.
Maybe so, but nothing beats running your test suite and seeing
everything pass!
Yes, I should have adde
Alan Gauld wrote:
The basic idea in testing is to try to break your code. Try to think
of every kind of evil input that could possibly come along and see
if your code survives. In amongst all of that you should have a
some valid values too, and know what to expect as out put.
Testing is more t
Great. Thanks Eike and Alan.
Josep M.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Wed, 24 Nov 2010 01:15:48 -
"Alan Gauld" wrote:
> In a recent project that we
> completed we had 600k lines of production code and over a
> million lines of test code.
>
> And we still wound up with over 50 reported bugs during Beta test...
> But that was much better than the 2000 bugs on
"Josep M. Fontana" wrote
Also, I'm a big believer in test-driven development. I must admit
though I'm
Does anybody know of any good reference on testing? How do you
develop
tests for functions?
The basic idea in testing is to try to break your code. Try to think
of every kind of evil inpu
On Tue, 23 Nov 2010 15:02:27 +0100
"Josep M. Fontana" wrote:
> Does anybody know of any good reference on testing? How do you develop
> tests for functions? I haven't found much information on this in the
> Python books I own.
When I first learnt python I found the "Dive into Python" section of
On Tuesday 23.11.2010 15:02:27 Josep M. Fontana wrote:
> Does anybody know of any good reference on testing? How do you develop
> tests for functions? I haven't found much information on this in the
> Python books I own.
The basic idea is to call your function with known inputs, and test if it ha
Hi Steven,
> Also, I'm a big believer in test-driven development. I must admit though I'm
> not so pedantic to write the tests first, but for anything except
> quick-and-dirty scripts, I make sure that *every* function in my program,
> without exception, has a test to ensure that it works correctl
Great. Thanks Marc, Steven and Alan for the enlightening answers. I
will certainly take your advice into account.
I work in many different computers and while I do most of my coding
(sounds as if I did a lot of coding, but I don't) on my desktop
computer at home I wanted to start doing it on my la
"Josep M. Fontana" wrote
Don;t run your code inside the IDE except for testing. IDEs are
Development Environments, they are not ideal for executing
production
code. Run your file from the Terminal command prompt directly.
I thought the code was not run inside the IDE but it was run by
Pyth
Josep M. Fontana wrote:
Don;t run your code inside the IDE except for testing. IDEs are
Development Environments, they are not ideal for executing production
code. Run your file from the Terminal command prompt directly.
I thought the code was not run inside the IDE but it was run by Python
in
On Mon, Nov 22, 2010 at 1:13 AM, Josep M. Fontana wrote:
> Alan gave me this piece of advice in his response to another message I
> sent to the list. Since the topic is a bit different from the one in
> the original message, I think it is better to start a different
> thread.
>
> > Don;t run your
what about eric3 ?
http://www.die-offenbachs.de/detlev/eric3.html
Ced.
--
Cedric BRINER
Geneva - Switzerland
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
>> with the open source NetBeans IDE. It would be nice if someone
>> modified it to work with Python! :-)
>
> How about Jython? See https://coyote.dev.java.net/
My work is done for me!
I was seriously looking at wring a plug in to support Jython because
I couldn't see one listed on the official p
Tim Johnson <[EMAIL PROTECTED]> writes:
> And with Xemacs you can even have bitmaps for your backgroud, but
> of course that can be distracting, if you are (for instance) coding
> over the top of Mariah Carey.
On the other hand, it will be easy (?) to find bugs on her nipples... ;-)
--
* Alan G <[EMAIL PROTECTED]> [050914 09:21]:
> > For Windows, the finest Shareware edit IMHO is Boxer.
>
> Editor religious wars are nearly as bad as programming
> language wars but I can't resist.
ERWs are a misdirection of energy IMHO. Talking about
editors and languages *is* a g
Alan G wrote:
> PS I'm playing with JSP at the moment and am very impressed
> with the open source NetBeans IDE. It would be nice if someone
> modified it to work with Python! :-)
How about Jython? See https://coyote.dev.java.net/
Kent
___
Tutor mail
> For Windows, the finest Shareware edit IMHO is Boxer.
Editor religious wars are nearly as bad as programming
language wars but I can't resist.
My favourite windows editor these days is gvim. I've never got
round to adding the python scripting feature, mainly because
I try not to customize i
Matt Williams wrote:
>I've used both PyDev and Wing IDE.
>
>PyDev seems good, and is getting better.
>Wing is pay-for (although only $40 or so), but can be trialled. I thought
>it was good, but had a huge problem trying to get it to play with a C library
>I was using...
>
>I've never managed to g
* Matt Williams <[EMAIL PROTECTED]> [050914 07:27]:
> I've used both PyDev and Wing IDE.
>
> PyDev seems good, and is getting better.
> Wing is pay-for (although only $40 or so), but can be trialled. I thought
> it was good, but had a huge problem trying to get it to play with a C library
> I was
I've used both PyDev and Wing IDE.
PyDev seems good, and is getting better.
Wing is pay-for (although only $40 or so), but can be trialled. I thought
it was good, but had a huge problem trying to get it to play with a C library
I was using...
I've never managed to get Boa-Constructor to run...
21 matches
Mail list logo