Re: [BangPypers] framework to write functional test cases
We use nosetest extensively and find its conventions better than the other test frameworks we have used before. On Jun 2, 2016 3:13 PM, "Keshav Agrawal" <keshavagra...@outlook.com> wrote: If I understand correctly, there are two things which you are asking here - Functional Test Cases and Load/Stress Test by sending multiple requests. I wont say unittest framework is ugly :) and for load testing you can use siege. You might have to integrate your test cases with siege to do load test. RegardsKeshav AgrawalMob - +(91)8050420391, +(1)2035522087Website LinkedIn GitHub Twitter Blog > From: anusree@gmail.com > Date: Wed, 1 Jun 2016 19:47:24 +0530 > To: bangpypers@python.org > Subject: [BangPypers] framework to write functional test cases > > Hi, > > I am looking for a framework which helps to write functional test cases. > Right now i am using unittest framework to do that, but that is ugly. How > you guys are writing functional test cases.I also want to do stress test by > sending thousands of concurrent requests (run functional test cases in > different threads). > ___ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] framework to write functional test cases
If I understand correctly, there are two things which you are asking here - Functional Test Cases and Load/Stress Test by sending multiple requests. I wont say unittest framework is ugly :) and for load testing you can use siege. You might have to integrate your test cases with siege to do load test. RegardsKeshav AgrawalMob - +(91)8050420391, +(1)2035522087Website LinkedIn GitHub Twitter Blog > From: anusree@gmail.com > Date: Wed, 1 Jun 2016 19:47:24 +0530 > To: bangpypers@python.org > Subject: [BangPypers] framework to write functional test cases > > Hi, > > I am looking for a framework which helps to write functional test cases. > Right now i am using unittest framework to do that, but that is ugly. How > you guys are writing functional test cases.I also want to do stress test by > sending thousands of concurrent requests (run functional test cases in > different threads). > ___ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] framework to write functional test cases
On Wed, Jun 01 2016, anu sree wrote: > Hi, > > I am looking for a framework which helps to write functional test > cases. Right now i am using unittest framework to do that, but that > is ugly. I consider py.test as one of Python's "killer applications". I've used it since 2010 or so for almost all my non trivial python projects. I've even recently started using it to test my C libraries. It's got a compatibility wrapper to run unittest tests so you can start using it without changing any of your existing tests. I could go on and on but it'll just be fanboyism. > How you guys are writing functional test cases. Often, for servers, I use subprocess to launch my application as a completely separate process and then poke it from the outside. > I also want to do stress test by sending thousands of concurrent > requests (run functional test cases in different threads). Are these http requests? I'm not sure py.test and related infrastructure is the best to do raw performance tests. Something like ab, siege or boom might be better. [...] -- Cordially, Noufal http://nibrahim.net.in ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers
Re: [BangPypers] framework to write functional test cases
On Wednesday 01 June 2016 07:47 PM, anu sree wrote: > Hi, > > I am looking for a framework which helps to write functional test cases. > Right now i am using unittest framework to do that, but that is ugly. How > you guys are writing functional test cases.I also want to do stress test by > sending thousands of concurrent requests (run functional test cases in > different threads). Have you tried py.test ? It might be one you are looking for. http://pytest.org For testing/validating models via fixtures try python-schematics. > ___ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > -- Regards, --Anand Software Architect/Consultant anandpil...@letterboxes.org http://twitter.com/skeptichacker ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers
[BangPypers] framework to write functional test cases
Hi, I am looking for a framework which helps to write functional test cases. Right now i am using unittest framework to do that, but that is ugly. How you guys are writing functional test cases.I also want to do stress test by sending thousands of concurrent requests (run functional test cases in different threads). ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers