Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-29 Thread Rustom Mody
On Friday, August 28, 2015 at 11:56:53 AM UTC+5:30, Steven D'Aprano wrote: > Completely off-topic. Stop reading now if you only want to read things about > Python. > > > On Fri, 28 Aug 2015 09:46 am, Ben Finney wrote: > > > \        “Of course, everybody says they're for peace. Hitler was for |

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread John T. Haggerty
People are naturally competitive. People naturally don't like to hear the word know. People love to get what they want. Combine all of these things together and you have all of the elements necessary to eventually create another conflict. Just because it doesn't happen immediately doesn't mean it's

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Michael Torrie
On 08/28/2015 01:27 AM, Ben Finney wrote: > -- > \ “Capitalism is the astounding belief that the most wickedest of | > `\men will do the most wickedest of things for the greatest good | > _o__) of everyone.” —John Maynard Keynes | Now that is an interestin

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Chris Angelico
On Sat, Aug 29, 2015 at 12:02 AM, Steven D'Aprano wrote: > On Fri, 28 Aug 2015 04:35 pm, Nick Sarbicki wrote: > >> Well who would we fight if we were all friends with each other? > > According to the Nac Mac Feegle, there's always *someone* to fight. If not > an enemy, there's always your friends,

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Steven D'Aprano
On Fri, 28 Aug 2015 04:35 pm, Nick Sarbicki wrote: > Well who would we fight if we were all friends with each other? According to the Nac Mac Feegle, there's always *someone* to fight. If not an enemy, there's always your friends, family, inanimate objects, and if all else fails, yourself. "Criv

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread jmp
On 08/28/2015 11:24 AM, Marko Rauhamaa wrote: Would you rather be an powerful, armed war hero admired and feared by your nation or a foresaken unemployed drunkard who rots in jail? Marko Time to quote the most famous general in the galaxy: “Ohhh. Great warrior.Wars not make one great.” ;) J

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Marko Rauhamaa
Ben Finney : > Steven D'Aprano writes: >> Many people over the ages have thought that if only war was more >> terrible, we would stop making it. Alas, that appears to be false: no >> matter how terrible war is, there is always someone who thinks that >> it is better than peace. > > Those who bene

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Ben Finney
Steven D'Aprano writes: > With the greatest of respect to Chomsky, I think he is simply wrong > about Hitler. Hitler actually believed that war was good for the > national character, and indeed good for the soul, and that long > periods of peace would enfeeble a nation and make it decadent and >

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Martin Skjöldebrand
On Fri, 2015-08-28 at 06:35 +, Nick Sarbicki wrote: > Well who would we fight if we were all friends with each other? That's what Paintball is for. /Martin S -- This address is for technical mail lists only.For all other matters, please use my main addressat the .org domain. -- https://mai

Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-28 Thread Nick Sarbicki
Well who would we fight if we were all friends with each other? On Fri, 28 Aug 2015 07:31 Steven D'Aprano wrote: > Completely off-topic. Stop reading now if you only want to read things > about > Python. > > > On Fri, 28 Aug 2015 09:46 am, Ben Finney wrote: > > > \“Of course, everybody s

OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests]

2015-08-27 Thread Steven D'Aprano
Completely off-topic. Stop reading now if you only want to read things about Python. On Fri, 28 Aug 2015 09:46 am, Ben Finney wrote: > \        “Of course, everybody says they're for peace. Hitler was for | > `\      peace. Everybody is for peace. The question is: what kind of | > _o__)        

Re: Parametrized Unit Tests

2015-08-27 Thread Ben Finney
rambius writes: > Hello, > > петък, 21 август 2015 г., 21:43:19 UTC-4, Ben Finney написа: > > The ‘testscenarios’ library is one way to have a set of scenarios > > applied at run-time to produce tests across all combinations > > https://pypi.python.org/pypi/testscenarios/>. > > testscenarios work

Re: Parametrized Unit Tests

2015-08-27 Thread rambius
Hello, петък, 21 август 2015 г., 21:43:19 UTC-4, Ben Finney написа: > > Is there a better a way to pass the server, the user and the password > > to the test without resolving to global variables? > > The ‘testscenarios’ library is one way to have a set of scenarios > applied at run-time to produ

Re: Parametrized Unit Tests

2015-08-21 Thread Ben Finney
rambius writes: > I am running one and the same unit tests that test some web > application. I would like to execute them against different servers > that may host different instances of the application. Those aren't unit tests, then. A unit test, by definition, tests a small unit of code; usual

Re: Parametrized Unit Tests

2015-08-21 Thread Laura Creighton
In a message of Fri, 21 Aug 2015 08:17:32 -0700, rambius writes: >Although I developed these tests as unit tests they are more of integration >tests. Is there an integration testing framework that supports a more >convenient passing of test parameters / data? > >Thank you in advance for your resp

Parametrized Unit Tests

2015-08-21 Thread rambius
Hello, I am running one and the same unit tests that test some web application. I would like to execute them against different servers that may host different instances of the application. So far I have something like #!/usr/bin/env python import unittest server = "" user = "" password = ""