[TIP] Query on Testify
sean at seanfisk.com
Mon Jun 24 12:49:39 PDT 2013
I assume by data provider you are referring to data-driven
In pytest, the way I accomplish this is by using test parametrization,
which is a fancy way of saying "running the same tests with different
parameters." Using pytest, you can parametrize a
or create your own parametrization
Here is an example from a project on which I am
I use os.listdir() to get a directory listing, then run the same test for
each file in the directory.
Could you clarify what you mean by "test re-runner"?
Hope this helps,
On Mon, Jun 24, 2013 at 12:10 PM, mani kandan <majafriend at gmail.com> wrote:
> Hi Julian,
> Yeah I went through it and found it quite interesting. Some of my
> requirements are having a data provider and test rerunner. I came across
> testify and read its document where it is specified that it is an
> enhancement over unittest and nose. So I am trying to understand what it
> provide and how easy is to use it. This will help me in making a correct
> decision before starting on any test framework as it will be difficult to
> switch once we started.
> On Mon, Jun 24, 2013 at 11:05 AM, Julian Berman <julian at grayvines.com>wrote:
>> The standard library already has a testing framework (unittest) which is
>> quite widely used and documented.
>> Have you looked at it?
>> Hi all,
>> I am newbie to python. Recently I came to know about the mailing list. I
>> am in search of a good python test framework. While doing so, I cam across
>> testify. The wiki provided in https://github.com/Yelp/Testify/wiki is
>> very minimal. I am looking for some more examples and uses. Can anyone me
>> point me on same.
>> testing-in-python mailing list
>> testing-in-python at lists.idyll.org
> ALWAYS KEEP SMILING
> FOR U EVER,
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python