David Wolever
d48663805f
Remove un-used (and not working) pytest_skip
2017-03-26 00:37:31 -04:00
David Wolever
96593a3ea3
Make sure that setUp and tearDown methods work.
...
Previously setUp and tearDown would be called on the instance of the class
being tested, but the methods were pulled from the instance of the class
created during test enumeration. Now everything will work correctly.
2017-03-26 00:35:52 -04:00
David Wolever
173e499876
Update misspelling helper
2017-03-21 13:31:52 -04:00
David Wolever
974d527d71
Bump to 0.6.1
...
Because I'm a dumb and uploaded the wrong thing to PyPI
2017-03-21 13:16:14 -04:00
David Wolever
c210f77624
Officially rename to 'parameterized'
2017-03-21 13:14:21 -04:00
David Wolever
6b2065e45f
Add misspelt helper package
2017-03-13 18:15:51 -04:00
David Wolever
1e9e974084
Merge branch 'master' of github.com:wolever/nose-parameterized
2016-10-07 11:44:37 -04:00
David Wolever
2244a23993
Bump readme, tox.ini
2016-10-07 11:44:06 -04:00
David Wolever
5f316ef771
Merge pull request #33 from anweshadas/master
...
Adds license information to the setup function
2016-08-17 13:43:45 -04:00
Anwesha Das
fc11bc0ea7
Adds license information to the setup function
...
Adding it as FreeBSD as mentioned in
https://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_.28.22Simplified_BSD_License.22_or_.22FreeBSD_License.22.29
FSF prefers the term FreeBSD over Simplified BSD or 2-clause BSD as the license
name.
2016-08-17 15:56:43 +05:30
David Wolever
5c18c7185b
Whoops, forgot to run tests
2016-08-02 13:24:33 -04:00
David Wolever
857ec252c3
Ensure iterables are unwrapped exactly once.
...
https://github.com/wolever/nose-parameterized/pull/31
2016-08-02 13:15:34 -04:00
David Wolever
1ddbe85f50
Add travis badge
2016-02-22 13:48:45 -05:00
David Wolever
4fd04b895e
Deal with leading whitespace in docstrings
2015-08-06 13:32:00 -04:00
David Wolever
857afd3dc3
Include parameters in docstrings
2015-08-05 18:45:21 -04:00
David Wolever
0edac705f7
Rename testcase_func_{doc,name} to {doc,name}_func
2015-08-05 18:06:51 -04:00
David Wolever
2ecc288f94
Support ALL the things. Bump to 0.5.0.
2015-07-09 18:48:20 -04:00
Marek Mazur
df8617e90f
Compatibilty with nose2 and green
2015-07-03 18:01:35 +02:00
David Wolever
ce6d611381
Fix no named args bug ( close #25 )
2015-06-18 13:23:15 -04:00
David Wolever
5db460121e
Cleanup
2015-06-17 20:42:26 -04:00
David Wolever
0228773f86
Bump to 0.4.1
2015-06-17 20:41:39 -04:00
David Wolever
04557dc792
Fix empty docstring ( close #24 )
2015-06-17 20:40:07 -04:00
David Wolever
741c817272
Clean up docstring test cases
2015-06-17 20:32:05 -04:00
David Wolever
2d80b8a39e
Travis: remove py32, add py34
2015-06-14 11:53:56 -04:00
David Wolever
9b4a70d130
Merge branch 'pull-22'
2015-06-14 11:51:11 -04:00
David Wolever
864728aa35
Update changelog
2015-06-14 11:51:04 -04:00
David Wolever
e1902f26e5
Drop py32 support
2015-06-14 11:48:38 -04:00
David Wolever
7d874b8832
Don't depend on ordereddict
2015-06-14 11:48:23 -04:00
David Wolever
d9d3e95ec9
Fix Python 3 issues
2015-06-14 11:37:09 -04:00
Sam Spilsbury
7456d8ff58
Add sudo: false to .travis.yml
...
Containerized builds are much faster.
2015-06-14 13:35:15 +08:00
Sam Spilsbury
37db4a2aeb
Adjust test_short_repr to account for quotation marks
...
Quotation marks take up two characters, so we need to change
the character limit to 6 for our test cases to work. Added
a new case to demonstrate that this does not apply to
number types
2015-06-14 13:32:25 +08:00
Sam Spilsbury
41de4772a6
Refactor TestParameterizedDocstring test cases
...
Cleaned up the test cases, made it more clear what they were
supposed to be testing, refactor out relevant helper methods.
2015-06-14 13:31:45 +08:00
Sam Spilsbury
0f62600eb3
Handle 'self' being the first argument
...
If the first argument is self, then offset by one, since
self is not parameterized.
2015-06-14 13:31:21 +08:00
Sam Spilsbury
952e2f897a
Require ordereddict
...
OrderedDict is not available on py26, so we need to fall back
to the ordereddict backport on PyPI in that case.
2015-06-14 13:30:32 +08:00
David Wolever
9fc9592415
Don't throw an error if the first arg isn't self
2015-06-14 07:59:32 +08:00
David Wolever
c83c13c0d4
Refactor default_testcase_func_doc
2015-06-14 07:59:24 +08:00
David Wolever
c70ee0b12b
Correct and test parameterized_argument_value_pairs
2015-06-14 07:59:14 +08:00
Sam Spilsbury
2bce4fe7a2
fixup! Added changes as requested
...
1. default_testcase_func_doc now lives in a toplevel function
2. Added parameterized_argument_value_pairs helper, could be useful
for clients who want to override the testcase_func_doc function
3. Added short_repr function as suggested
4. Added tests for the unicode case
5. Sort default args and provided kwargs and then merge the dicts,
so that the default args get used in the documentation if
nothing is provided.
6. Added tests for #5
2015-06-13 21:41:47 +08:00
Sam Spilsbury
6552eff0f3
Append details on parameters to expanded function docstrings.
...
Test runners will occassionaly use the docstring of a test method
as a means of reporting its execution. Because the docstring is
simply copied from the template method to the parameterized
method, it isn't very useful in distinguishing between tests.
We now detect the names of the parameters of the function and
the arguments that are being passed as parameters and append
that information to the end of the first line of the docstring.
The generated docstrings might not make perfect sense, so the
user can also specify testcase_func_doc to override docstring
generation with information that makes more sense.
Fixes #21
2015-04-13 09:46:22 +08:00
David Wolever
e21db77ac0
Bump version
2014-11-05 22:33:28 -05:00
David Wolever
4750a1b9b6
Update docs
2014-11-05 22:32:00 -05:00
Curtis Siemens
104e7b4fdc
Modified the expand() custom test method naming code & added testcases using David Wolever suggestions.
2014-11-05 16:17:00 -08:00
Curtis Siemens
e507025cee
Adding ability to over-ride parameterized.expand test case naming scheme through caller provided naming function.
2014-11-04 19:29:15 -08:00
David Wolever
2102784d85
Add .gitignore
2014-11-02 18:56:02 -05:00
David Wolever
cbea1c6aa4
Add setup.cfg to make wheels py2/py3
2014-10-03 15:10:21 -04:00
David Wolever
29661fff2b
Bump version
2014-10-03 15:06:49 -04:00
David Wolever
cc77ec7c0f
Merge pull request #17 from toumorokoshi/master
...
Wrapping the standalone functions with functools.wraps
2014-10-03 11:20:38 -04:00
Yusuke Tsutsumi
0a51b8e1f2
wrapping the standalone functions in functools, to assure similar functions
2014-10-01 17:04:16 -07:00
David Wolever
c85d682163
Oops, actually fix readme
2014-04-03 22:22:22 -04:00
David Wolever
f6ee55f16c
Perdy syntax in readme
2014-04-03 22:21:29 -04:00