Re: [Pharo-project] SUnit Time out

2010-06-05 Thread Nicolas Cellier
-project-boun...@lists.gforge.inria.fr] On Behalf Of Michael Roberts [m...@mjr104.co.uk] Sent: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm not sure the granularity that's

Re: [Pharo-project] SUnit Time out

2010-06-04 Thread Hernan Wilkinson
-project-boun...@lists.gforge.inria.fr] On Behalf Of Michael Roberts [m...@mjr104.co.uk] Sent: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm not sure the granularity that's required though

Re: [Pharo-project] SUnit Time out

2010-06-04 Thread Nicolas Cellier
Roberts [m...@mjr104.co.uk] Sent: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm not sure the granularity that's required though. mike On Saturday, May 29, 2010, stephane ducasse

Re: [Pharo-project] SUnit Time out

2010-06-04 Thread Hernan Wilkinson
@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm not sure the granularity that's required though. mike On Saturday, May 29, 2010, stephane ducasse stephane.duca...@free.fr wrote: Hi guys in Squeak andreas

Re: [Pharo-project] SUnit Time out

2010-06-01 Thread Andreas Raab
Hi Chris - Let me comment on this from a more general point of view first, before going into the specifics. I've spent the last five years building a distributed system and during this time I've learned a couple of things about the value of timeouts :-) One thing that I've come to understand

Re: [Pharo-project] SUnit Time out

2010-05-31 Thread Nicolas Cellier
2010/5/31 Nicolas Cellier nicolas.cellier.aka.n...@gmail.com: 2010/5/30 Stéphane Ducasse stephane.duca...@inria.fr: On May 30, 2010, at 8:52 PM, Chris Muller wrote: (Copying squeak-dev too). I'm not sold on the whole test timeout thing.  When I run tests, I want to know the answer to the

Re: [Pharo-project] SUnit Time out

2010-05-31 Thread Nicolas Cellier
Oh, and I see one more advantage: Only quick tests are run interactively by default from your TestRunner. We could automate the separation between long tests and quick tests based on timeout if the information is discoverable (either in method annotations or class side query, I don't care). Of

Re: [Pharo-project] SUnit Time out

2010-05-31 Thread Stéphane Ducasse
ok tx Now may be the test runner should be adapted. We will see. Now I just remove the items from the urgent list and if the need emerges we know that this is there. Stef On May 31, 2010, at 12:10 PM, Nicolas Cellier wrote: 2010/5/30 Stéphane Ducasse stephane.duca...@inria.fr: On May 30,

Re: [Pharo-project] SUnit Time out

2010-05-31 Thread Stéphane Ducasse
In other words, the timeout has the advantage to turn a rather implicit requirement into an explicit requirement. And it's then up to test producers to fine tune their tests wrt this requirement or use the available hooks in case of long tests, rather than letting the integrator guess.

Re: [Pharo-project] SUnit Time out

2010-05-31 Thread Stéphane Ducasse
On May 31, 2010, at 12:29 PM, Nicolas Cellier wrote: Oh, and I see one more advantage: Only quick tests are run interactively by default from your TestRunner. We could automate the separation between long tests and quick tests based on timeout if the information is discoverable (either in

Re: [Pharo-project] SUnit Time out

2010-05-31 Thread Chris Muller
In other words, the timeout has the advantage to turn a rather implicit requirement into an explicit requirement. I can almost understand it for this, especially in the context of development within an open source community. Unfortunately, it neuters the deterministic property. Did it timeout

Re: [Pharo-project] SUnit Time out

2010-05-30 Thread Michael Roberts
: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm not sure the granularity that's required though. mike On Saturday, May 29, 2010, stephane ducasse stephane.duca...@free.fr wrote: Hi guys

Re: [Pharo-project] SUnit Time out

2010-05-30 Thread Stéphane Ducasse
On May 30, 2010, at 8:52 PM, Chris Muller wrote: (Copying squeak-dev too). I'm not sold on the whole test timeout thing. When I run tests, I want to know the answer to the question, is the software working? Putting a timeout on tests trades a slower, but definitive, yes or no for a

[Pharo-project] SUnit Time out

2010-05-29 Thread stephane ducasse
Hi guys in Squeak andreas introduced the idea of test time out Do you think that this is interesting? Stef SUnit - All test cases now have an associated timeout after which the test is considered failed. The purpose of the timeout is to catch issues like infinite loops, unexpected user

Re: [Pharo-project] SUnit Time out

2010-05-29 Thread Michael Roberts
yes think it's a good idea. I'm not sure the granularity that's required though. mike On Saturday, May 29, 2010, stephane ducasse stephane.duca...@free.fr wrote: Hi guys in Squeak andreas introduced the idea of test time out Do you think that this is interesting? Stef SUnit - All

Re: [Pharo-project] SUnit Time out

2010-05-29 Thread Schwab,Wilhelm K
-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Michael Roberts [m...@mjr104.co.uk] Sent: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm not sure

Re: [Pharo-project] SUnit Time out

2010-05-29 Thread Stéphane Ducasse
: pharo-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Michael Roberts [m...@mjr104.co.uk] Sent: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea

Re: [Pharo-project] SUnit Time out

2010-05-29 Thread Lukas Renggli
...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Michael Roberts [m...@mjr104.co.uk] Sent: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm not sure the granularity

Re: [Pharo-project] SUnit Time out

2010-05-29 Thread Stéphane Ducasse
-project-boun...@lists.gforge.inria.fr [pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Michael Roberts [m...@mjr104.co.uk] Sent: Saturday, May 29, 2010 6:17 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] SUnit Time out yes think it's a good idea. I'm