Commit Graph

263 Commits

Author SHA1 Message Date
Oleg Pidsadnyi 74dde06e58 Preparing the release 2.4.5 2014-10-22 13:24:44 +02:00
Anatoly Bubenkov 455c81aed0 Fix unicode issue with scenario name 2014-10-22 11:19:43 +00:00
Oleg Pidsadnyi 3688f03472 Preparing release 2.4.3 2014-10-22 10:11:35 +02:00
Anatoly Bubenkov 9ef2a94d30 fix steps timings 2014-10-21 16:18:28 +00:00
Anatoly Bubenkov 002c517093 Fix unicode regex argumented steps issue, reimplements #75 2014-10-21 16:08:42 +00:00
Oleg Pidsadnyi 6cc651fe06 Preparing the release 2.4.2 2014-10-21 12:55:33 +02:00
Anatoly Bubenkov e0fc9064c9 prioritize-timing-hooks 2014-09-27 01:13:22 +00:00
Anatoly Bubenkov 8e8be17a43 correct generated function names 2014-09-24 08:49:21 +00:00
Anatoly Bubenkov 28e4932a3b correct recursion for --feature parameter of --generate-missing 2014-09-24 08:03:49 +00:00
Oleg Pidsadnyi 995c90f563 Release 2.4.1 2014-09-23 10:13:44 +02:00
Anatoly Bubenkov c6dc04386f Validation/generation helpers 2014-09-22 23:31:33 +00:00
Anatoly Bubenkov 47694d0299 BDD tests validation/generation helpers 2014-09-22 06:27:33 +00:00
Anatoly Bubenkov 5433bfeb61 Correct timing values for cucumber json reporting 2014-09-20 00:18:19 +00:00
Anatoly Bubenkov 57431dc218 Implement simple code generation command. Closes #32 2014-09-19 19:28:47 +00:00
Anatoly Bubenkov 771f263ec6 Better reporting of a not found scenario 2014-09-18 18:32:50 +00:00
Oleg Pidsadnyi 8e90b2b25f Release 2.4.0 2014-09-15 10:06:37 +02:00
Oleg Pidsadnyi 6758382bf9 Merge pull request #66 from bubenkoff/background-support
Background support added. closes #16
2014-09-15 09:56:44 +02:00
Oleg Pidsadnyi 388ed6183c Merge pull request #65 from bubenkoff/fix-double-collection
Fixed double collection of the conftest files if scenario decorator is used
2014-09-15 09:53:45 +02:00
Anatoly Bubenkov 8d28d15e52 Background support added. closes #16 2014-09-14 22:52:28 +00:00
Anatoly Bubenkov 008dcee6b6 Fixed double collection of the conftest files if scenario decorator is used 2014-09-14 21:36:23 +00:00
Oleg Pidsadnyi 1748de1fe7 version bumped 2014-09-11 22:06:54 +02:00
Anatoly Bubenkov 0dd249c999 cucumber json timings added 2014-09-10 23:24:14 +00:00
Oleg Pidsadnyi 662da2b44d Release 2.3.2 2014-09-03 10:58:05 +02:00
Harro van der Klauw 332b88cb59 Fixed incorrect error message using e.argname instead of step.name 2014-08-21 17:24:31 +02:00
Oleg Pidsadnyi 4255789391 Release 2.3.1 2014-07-30 23:31:29 +02:00
Anatoly Bubenkov 0be8236a05 trace keyword implemented 2014-07-30 08:55:27 +00:00
Anatoly Bubenkov 7fcfb20f33 implemented cucumber tags 2014-07-27 13:31:38 +00:00
Anatoly Bubenkov 76be97293f unicode fixes 2014-07-25 22:59:23 +00:00
Anatoly Bubenkov b08d385352 correct reporting of exceptions 2014-07-25 22:32:18 +00:00
Anatoly Bubenkov 5aaf42e4b5 better reporting 2014-07-25 22:17:58 +02:00
Anatoly Bubenkov 9f24385897 use filename instead of name which can be empty #ep14boat 2014-07-24 20:46:00 +02:00
Anatoly Bubenkov 5d5149801a serialize scenario info 2014-07-24 19:22:24 +02:00
Anatoly Bubenkov 44be5f426a merge with master 2014-07-24 18:14:14 +02:00
Anatoly Bubenkov b17234846e latest pytest compartibility issues 2014-07-24 18:06:10 +02:00
Anatoly Bubenkov 15f95dfdba merge with master 2014-07-24 17:38:42 +02:00
Oleg Pidsadnyi f65f302c8a Preparing release 2014-06-11 23:51:47 +02:00
Anatoly Bubenkov acb20318c3 closes #41 2014-06-11 23:28:54 +02:00
albertjan 8f970bd7b8 comma added 2014-05-11 18:17:17 +02:00
Anatoly Bubenkov 79b40fb153 pep fixes 2014-05-11 17:08:56 +02:00
Anatoly Bubenkov 56d2782b51 pep fixes 2014-05-11 17:04:41 +02:00
Anatoly Bubenkov 3f5da0f4a0 pep fixes 2014-05-11 17:02:11 +02:00
Anatoly Bubenkov f1bf4bc11a pep fixes 2014-05-11 17:00:57 +02:00
Anatoly Bubenkov 1fe834170e pep fixes 2014-05-11 17:00:10 +02:00
albertjan 02989bb40b Merge branch 'cucumber-json-formatter' of https://github.com/albertjan/pytest-bdd into cucumber-json-formatter 2014-05-11 16:51:54 +02:00
albertjan fce9aabbd0 changes according to @dimazest 2014-05-11 16:51:12 +02:00
Anatoly Bubenkov 34a4ac65dd Merge branch 'cucumber-json-formatter' of github.com:albertjan/pytest-bdd into cucumber-json-formatter 2014-05-11 16:47:59 +02:00
Anatoly Bubenkov 62898e5a00 PR 2014-05-11 16:47:37 +02:00
albertjan 4ed618ee96 clean up and use rel path 2014-05-11 16:40:44 +02:00
Anatoly Bubenkov be87dffccb fix failing test 2014-05-11 16:36:17 +02:00
Anatoly Bubenkov 11c1ef586c Merge branch 'cucumber-json-formatter' of github.com:albertjan/pytest-bdd into cucumber-json-formatter 2014-05-11 16:29:35 +02:00
Anatoly Bubenkov 3d37863355 store base dir and filename separately 2014-05-11 16:29:27 +02:00
albertjan 18ae4c981b cleans some stuff up 2014-05-11 16:28:23 +02:00
albertjan faa5ececc1 corrects the reference 2014-05-11 16:15:11 +02:00
Anatoly Bubenkov 164ac9c586 correct expectation 2014-05-11 16:08:17 +02:00
albertjan 504d722864 makes the keyword nice 2014-05-11 16:05:13 +02:00
albertjan fe499437bb change name of scenario 2014-05-11 15:52:34 +02:00
albertjan c2dd06f08f rename tests to features 2014-05-11 15:41:05 +02:00
albertjan 052e74e37a adds description 2014-05-11 15:39:29 +02:00
albertjan 1f62168f1f add feature hash 2014-05-11 15:39:29 +02:00
Anatoly Bubenkov a9ca6db0e3 add feature line number 2014-05-11 15:36:40 +02:00
albertjan 70472f3117 cast reprcrash to string skip if there are no steps 2014-05-11 15:08:39 +02:00
albertjan 870c69f6d8 map each step 2014-05-11 14:58:19 +02:00
albertjan fe5611460b Just get the status 2014-05-11 14:39:54 +02:00
albertjan 375729b2a7 use tests var 2014-05-11 14:25:40 +02:00
Anatoly Bubenkov 5935411a1d scenario attrs 2014-05-11 14:15:25 +02:00
Anatoly Bubenkov bc2c347d95 correct scenario saving 2014-05-11 14:02:43 +02:00
Anatoly Bubenkov 9f6ce33079 add scenario 2014-05-11 13:29:14 +02:00
Anatoly Bubenkov fd16428ab7 store item in the report 2014-05-11 13:18:43 +02:00
Anatoly Bubenkov c22464f01a fix test 2014-05-11 11:26:18 +02:00
Anatoly Bubenkov b9a9634482 implementing cucumber json in progress 2014-04-11 22:13:04 +02:00
Anatoly Bubenkov 3b60a9e0e5 start implementing cucumber json 2014-04-09 00:40:30 +02:00
Dmitrijs Milajevs bfe3cca79c Pretend that print is a function, so Python 3 is happy 2014-04-04 18:35:04 +01:00
Anatoly Bubenkov 3370bcf714 more complex parsing of the multiline steps 2014-04-01 01:58:50 +02:00
Anatoly Bubenkov 60591ced61 multiline steps implemented 2014-03-29 00:58:38 +01:00
Anatoly Bubenkov dbe3f9da31 allow empty example values 2014-03-27 11:54:12 +01:00
Anatoly Bubenkov ec8f32d73e allow multiple step parameters 2014-03-27 02:13:42 +01:00
Anatoly Bubenkov 482482b059 code cleanup. vertical example table implemented 2014-03-15 01:05:21 +01:00
Anatoly Bubenkov c0ae33a241 move to single decorator 2014-03-14 14:15:04 +01:00
Anatoly Bubenkov d052bbe998 migrate 2014-03-14 13:36:36 +01:00
Anatoly Bubenkov c5237a217e move to single decorator approach 2014-03-14 13:20:43 +01:00
Anatoly Bubenkov e23d8e6180 update the prototype of decorated function 2014-03-14 09:54:17 +01:00
Anatoly Bubenkov 2a43453a40 save function prototype 2014-03-14 09:27:26 +01:00
Anatoly Bubenkov e3e4cb6ad2 Scenario outline implementation based on pure pytest parametrization 2014-03-13 18:33:53 +01:00
Anatoly Bubenkov d3928c7e4d scenario outlines implemented 2014-03-10 23:03:11 +01:00
Oleg Pidsadnyi 92a9377cec Fixed step arguments conflict with the fixtures having the same name 2014-02-19 12:48:14 +01:00
Oleg Pidsadnyi 8d89a4f388 gherkin feature support 2014-01-29 12:09:46 +01:00
Anatoly Bubenkov c3121c82c8 fixes for step hooks 2013-12-13 04:27:25 +01:00
Anatoly Bubenkov 6eccae04e9 Merge branch 'hooks-initial-implementation'
Conflicts:
	CHANGES.rst
	setup.py
	tests/feature/test_steps.py
2013-12-11 10:22:25 +01:00
Anatoly Bubenkov 382616b150 Merge branch 'master' into hide-scenario-overtrace 2013-12-11 04:07:51 +01:00
Anatoly Bubenkov 011409b029 hide scenario module in pytest verbose mode 2013-12-11 03:43:58 +01:00
Anatoly Bubenkov 2bf66bdae0 fixes for latest pytest 2013-12-11 00:32:10 +01:00
Anatoly Bubenkov 652ab40fbe remove unnecessary hooks. add documentation 2013-12-11 00:01:42 +01:00
Anatoly Bubenkov c85094c1ab hooks initial implementation 2013-12-06 04:19:10 +01:00
Andrey Makhnach 2e3357aa9d extra fix for encoding 2013-11-10 11:24:19 +01:00
Andrey Makhnach b168cb1a80 removed copy-paste mistake from comment 2013-11-07 11:45:24 +01:00
Andrey Makhnach 6cb9a94263 Added fixes for python > 3.0 2013-11-07 11:33:55 +01:00
Andrey Makhnach 94b02a613c small fix. removed encoding from argument because we have general decoding for whole file 2013-11-07 11:02:14 +01:00
Andrey Makhnach 4ea7b8c9a7 small fix 2013-11-07 10:45:12 +01:00
Andrey Makhnach 45ded7e4da Added encoding. 2013-11-07 10:30:52 +01:00
Anatoly Bubenkov 38313564d9 replace scenario current module correctly to avoid mess in pytest log with -v 2013-10-31 15:20:54 +01:00
Anatoly Bubenkov d9b10a7f79 arguments in when steps when no arguments in givens bug 2013-09-27 13:38:37 +02:00
Oleg Pidsadnyi 061b36e312 step class added 2013-09-22 14:34:38 +02:00
Oleg Pidsadnyi f6837b948c wrong order tests 2013-09-21 00:30:31 +02:00
Oleg Pidsadnyi c7957e694a tests fixed 2013-09-20 23:29:42 +02:00
Oleg Pidsadnyi 6cd91e6e75 given validation 2013-09-20 22:48:40 +02:00
Oleg Pidsadnyi 82398e8c3f tests added 2013-09-20 00:46:29 +02:00
Anatoly Bubenkov 7ba4a26c6e pep8 fixes 2013-09-19 00:54:05 +02:00
Anatoly Bubenkov 000f8f764a step arguments in progress 2013-09-19 00:21:56 +02:00
Oleg Pidsadnyi eeb9f9afc0 attempt to implement regex params 2013-09-18 00:59:46 +02:00
Aron Curzon ad838080a1 Use named capture groups in regex step definitions to support return values from previous steps. 2013-09-14 23:57:56 -07:00
Aron Curzon 2765453ded Add support for matching steps against regex step definitions. 2013-09-14 23:52:18 -07:00
Anatoly Bubenkov b6ce8315dd version removed from the code 2013-08-23 15:14:18 +02:00
Anatoly Bubenkov 59c1c89337 Prepare 0.5.1 release 2013-08-19 01:19:29 +02:00
Anatoly Bubenkov a67a27c069 Merge branch 'verbose-feature-error-output' of https://github.com/amakhnach/pytest-bdd into verbose-feature-error-output 2013-08-19 01:11:07 +02:00
Andrey Makhnach be2e3324ac Removed previous and current modes from verbose output for FeatureError exception 2013-08-19 02:05:31 +03:00
Anatoly Bubenkov 0c0147029c Merge branch 'verbose-feature-error-output' of https://github.com/amakhnach/pytest-bdd into verbose-feature-error-output 2013-08-19 00:58:55 +02:00
Andrey Makhnach 357ba85d8f Added __unicode__ to FeatureError exception 2013-08-19 01:20:23 +03:00
Anatoly Bubenkov aa25da3a3f Merge branch 'master' into verbose-feature-error-output 2013-08-18 21:36:25 +02:00
Oleg Pidsadnyi b28db058b8 version number 2013-08-18 02:21:11 +02:00
Oleg Pidsadnyi 04a278eb97 Fixed the docs and few spelling error. 2013-08-18 02:02:50 +02:00
Anatoly Bubenkov abc4ab0d47 less strict parametrization checks. preserve docstring for steps. 2013-08-17 17:57:50 +02:00
Anatoly Bubenkov 95fa10378f sanity fixes for test assertions 2013-08-12 00:52:23 +02:00
Anatoly Bubenkov 1801193062 python 3 support. additional checks for parameters 2013-08-12 00:42:09 +02:00
Anatoly Bubenkov 1f9bbc8cde cleanup unnecessary code, move to more clean implementation 2013-08-11 23:34:06 +02:00
Andrey Makhnach 869e066da2 Renamed number_of_line into line_number 2013-08-11 00:50:59 +03:00
Andrey Makhnach e2ac822f64 Added number of line, line, prev_mode and mode to output of FeatureError 2013-08-11 00:30:54 +03:00
Anatoly Bubenkov f05045c15d Scenario parametrization implemented. Coveralls integration. Coverage improvement 2013-08-10 03:32:25 +02:00
Oleg Pidsadnyi a2ec61b622 Fixes python3 support 2013-07-11 20:41:50 +02:00
Oleg Podsadny 421b8569a3 Fixed steps filename 2013-06-20 12:21:31 +02:00
Oleg Podsadny 9247951600 fixes given reuse 2013-06-20 09:31:02 +02:00
Dmitrijs Milajevs 63e6b3a63a Remove unnecessary execution stack extraction in step decorators 2013-06-13 15:15:38 +02:00
Anatoly Bubenkov dc3896cef6 Fix doc typo, rename the base dir fixture, avoid overfixturing the functions 2013-05-28 23:09:33 +02:00
Anatoly Bubenkov c4d110413d base path for feature files 2013-05-28 17:12:00 +02:00
Anatoly Bubenkov 106e5633db base path for feature files 2013-05-28 17:11:47 +02:00
Anatoly Bubenkov ce83eb2a1d base path for feature files 2013-05-28 16:41:45 +02:00
Oleg Podsadny 130abe9e91 docstring fixed 2013-04-16 10:40:20 +02:00
Oleg Podsadny 653d15ba5c func_ variable renamed 2013-04-16 10:37:30 +02:00
Oleg Podsadny b934370dcb Fixes given 2013-04-16 10:17:10 +02:00
Oleg Podsadny b4e9b48d9d fixes fixtures usage 2013-04-15 17:44:26 +02:00
Oleg Podsadny 65246a2271 decoration of when 2013-04-15 14:27:44 +02:00
Oleg Podsadny e30401af01 when and then type test added 2013-04-13 23:32:49 +02:00
Anatoly Bubenkov 32ba166cfc only then is being run as deferred function, other steps are plain fixures, please 2013-04-13 03:42:23 +03:00
Anatoly Bubenkov 04d883b495 remove when step separation 2013-04-13 02:53:24 +03:00
Oleg Podsadny 18de5b8c34 test step defined in the parent conftest 2013-04-13 00:43:03 +02:00
Oleg Podsadny 1137c35b4f removed library 2013-04-12 15:58:14 +02:00
Oleg Podsadny c78374b783 Merge branch 'master' of github.com:olegpidsadnyi/pytest-bdd 2013-04-12 00:37:46 +02:00
Oleg Podsadny c49d9d1e7d reuse of the steps added 2013-04-12 00:37:10 +02:00
Oleg Podsadny 955869d849 multiple decoration with the same name forbidden 2013-04-11 23:30:25 +02:00
Harro van der Klauw 4881731eaf Using the __name__ trick with __all__ to get rid of the unused import errors 2013-04-10 09:27:53 +02:00
Oleg Podsadny 81eeb32f0e docs updated 2013-04-10 01:00:27 +02:00