Re: Unit tests

2009-12-28 Thread Sandro Tosi
On Sat, Dec 26, 2009 at 19:11, Guy Hulbert wrote: > On Sat, 2009-26-12 at 17:13 +0100, W. Martin Borgert wrote: >> Quoting "anatoly techtonik" : >> If unit tests were in the package, reportbug could automatically >> run them on a bug report. Does someone do this already, maybe? > > Can reportbug b

Re: Unit tests

2009-12-27 Thread anatoly techtonik
On Sat, Dec 26, 2009 at 10:17 PM, Ben Finney wrote: > >> Quoting "anatoly techtonik" : >> > Even if most users don't need them, tests greatly increase the value >> > of bugreports and doesn't bloat python packages too much. >> >> True. What do other people think of the issue? > > I think the judge

Re: Unit tests

2009-12-26 Thread Ben Finney
"W. Martin Borgert" writes: > Quoting "anatoly techtonik" : > > Even if most users don't need them, tests greatly increase the value > > of bugreports and doesn't bloat python packages too much. > > True. What do other people think of the issue? I think the judgement of “not bloat the package to

Re: Unit tests

2009-12-26 Thread Guy Hulbert
On Sat, 2009-26-12 at 17:13 +0100, W. Martin Borgert wrote: > Quoting "anatoly techtonik" : > > Even if most users don't need them, tests greatly increase the value > > of bugreports and doesn't bloat python packages too much. > > True. What do other people think of the issue? They should only be

Re: Unit tests

2009-12-26 Thread W. Martin Borgert
Quoting "anatoly techtonik" : Even if most users don't need them, tests greatly increase the value of bugreports and doesn't bloat python packages too much. True. What do other people think of the issue? If unit tests were in the package, reportbug could automatically run them on a bug report.

Re: Unit tests

2009-12-25 Thread anatoly techtonik
On Fri, Dec 25, 2009 at 6:01 PM, W. Martin Borgert wrote: > Quoting "anatoly techtonik" : >> >> Python policy is silent about unit tests. Should they be stripped? Or >> should they be Debianized or left as-is? > > Just my opinion: Unit tests should be in the source package, but not > in the binary

Re: Unit tests

2009-12-25 Thread W. Martin Borgert
Quoting "anatoly techtonik" : Python policy is silent about unit tests. Should they be stripped? Or should they be Debianized or left as-is? Just my opinion: Unit tests should be in the source package, but not in the binary package. Most users don't need them, and if somebody wants to try them,