Commit Graph

178 Commits

Author SHA1 Message Date
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter
a6e49f2680 compatibility improvements -> use reduce from functools 2014-01-14 11:31:01 +01:00
David Halter
8d2b3a0f7c Executable.decorated should be protected 2013-12-23 22:52:17 +01:00
David Halter
f12e7f66c4 remove unused argument from calls to set_debug_function 2013-08-16 14:06:53 +04:30
David Halter
fbcecaf1ef deprecate 'source_path' as a Script parameter in favour of 'path' 2013-08-15 19:25:19 +04:30
David Halter
e07625017d remove all the deprecation warnings in jedi itself 2013-08-11 23:00:27 +04:30
David Halter
a72601a9d8 use docopt for run.py executions, much more readable 2013-08-11 19:53:14 +04:30
David Halter
9c258ca897 remove a sys.path hack that is not needed 2013-08-05 16:26:50 +04:30
David Halter
dd6967de7c fixed a unicode test problem 2013-07-18 14:54:40 +02:00
David Halter
ad56b6cc89 fix title length (docstr stuff) 2013-05-11 11:02:13 +04:30
David Halter
7c8fee1257 removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses 2013-05-03 21:26:29 +04:30
David Halter
efeeee9706 removed related_names occurences in favor of usages 2013-05-03 21:04:36 +04:30
David Halter
49e51f5a1a deprecated api_classes.Completion.word in favor of name 2013-05-03 20:38:37 +04:30
David Halter
beae920177 Script.complete has been deprecated, therefore changed all usages / documatation to Script.completions 2013-05-03 20:28:11 +04:30
David Halter
6204cb740b merge with dev branch 2013-05-03 01:28:50 +04:30
David Halter
01be114386 renaming tests are now possible outside of renaming.py 2013-05-01 21:07:37 +04:30
David Halter
e99f7a25fe exceptions should produce errors even in alternate run display 2013-04-27 20:55:51 +04:30
Danilo Bargen
b3d9b6ce69 Removed py25 related code (fixes #206) 2013-04-27 16:47:40 +02:00
David Halter
43306429f9 fixed some little testing problems 2013-04-21 22:55:12 +04:30
David Halter
07075a7264 running tests again from run.py works. 2013-04-21 00:04:51 +04:30
David Halter
d16f5f6a4c refactored test_integration, so that those tests can be called from multiple places. 2013-04-20 21:55:08 +04:30
David Halter
2b1ea33fe8 reintroduce old testing mode for run.py 2013-04-20 21:22:08 +04:30
Takafumi Arakaki
ab5266b840 Automatically skip thirdparty test if not importable 2013-03-12 13:51:33 +01:00
Takafumi Arakaki
de7092d56b Fix: --thirdparty was not considered 2013-03-12 11:26:58 +01:00
Takafumi Arakaki
c387bf06bc No need to setup import path in test.base
py.test does that for us.
2013-03-12 11:03:12 +01:00
Takafumi Arakaki
446c7cf694 Document how to run test 2013-03-12 10:36:42 +01:00
Takafumi Arakaki
ff80988a75 Remove old test code 2013-03-12 10:02:19 +01:00
Takafumi Arakaki
0f9761aac7 Fix tests for Python 3.2 (use relative import) 2013-03-12 07:11:37 +01:00
Takafumi Arakaki
c3aaf7b4ba Show line_nr of test comment, not the line after 2013-03-10 20:26:09 +01:00
Takafumi Arakaki
20c9709aef Do not change cwd at import time 2013-03-10 17:28:48 +01:00
Takafumi Arakaki
00912e69fe Completely separate test collection and run 2013-03-10 16:34:54 +01:00
Takafumi Arakaki
6a10f79551 Do not destruct test case in run_test 2013-03-10 14:24:05 +01:00
Takafumi Arakaki
418bce909a run_{test_type} functions takes same args now 2013-03-10 13:16:05 +01:00
Takafumi Arakaki
932ce397d6 Separate test collection and run 2013-03-10 12:21:12 +01:00
David Halter
90c800b257 remove repl style comments and use indented blocks instead, #146 2013-03-01 19:52:36 +04:30
David Halter
68a9cecb27 improved run test documentation 2013-03-01 00:31:51 +04:30
David Halter
669dfda419 run documentation improved 2013-03-01 00:19:05 +04:30
David Halter
855d683d9a switched to __name__ == '__main__' checks for tests 2013-03-01 00:07:36 +04:30
David Halter
1834ef51b1 basic testing docstring for run.py 2013-02-28 23:57:33 +04:30
David Halter
b0c3fd5439 api.Script.get_definition -> definition, to be consistent in the api naming. deprecated api.Script.get_definition 2013-02-21 22:12:51 +04:30
David Halter
5be5d08441 heapy debugging in run.py 2013-02-07 10:18:19 +01:00
David Halter
3c4e079ecb import jedi in tests and not api 2013-01-08 12:15:50 +01:00
David Halter
d72d8ad756 py2.5 compatibility 2013-01-07 01:51:12 +01:00
David Halter
795d25d9a7 improved some run.py stuff again 2013-01-06 01:48:48 +01:00
David Halter
ce51021c1e move more testing functionality out of run.py 2013-01-05 22:42:16 +01:00
David Halter
31e8a8c5a2 remove sys path stuff in run.py (it's in base) 2013-01-05 20:19:48 +01:00
David Halter
17bec929bb fix a little import problem in regression tests 2012-12-31 12:36:33 +01:00
David Halter
45c9fe16b8 many tests and fixes for instance element renamings 2012-12-26 22:56:56 +01:00
David Halter
6322df11f3 renaming tests refactored. It's now much easier and understandable to create rename tests 2012-12-24 17:12:46 +01:00
David Halter
0cca730b6e increase python2.5 test fails again, I'm sure @dbrgn will like this. 2012-12-24 10:53:17 +01:00