Commit Graph

136 Commits

Author SHA1 Message Date
Dave Halter 50fa3a732d actually start checking if the integration tests are instances on both sides of the comparison. This wasnt necessary for just autocompletion, but it's way more important now. 2014-07-31 14:58:32 +02:00
Danilo Bargen 2a1c108bbf Fixed whitespace problems in completion tests 2014-07-26 17:39:05 +02:00
Akinori Hattori 68150f2814 fix module name of integration tests for Windows 2014-07-19 10:36:31 +09:00
Dave Halter a1bc644bfb fix a small issue in the alternative test runner 2014-07-17 22:47:54 +02:00
Dave Halter b643325889 type of NamePart in definition should work. 2014-04-18 01:31:07 +02:00
Dave Halter 62bd8bd8ef make the parametrizing of tests nicer for integration tests 2014-04-14 17:07:34 +02:00
Dave Halter 9da09c9058 improve the testing documentation. Add a section about the alternate test runner ./run.py 2014-03-11 14:27:11 +01:00
Dave Halter 9c2fcfffd7 StringIo is now always used as part of the io library 2014-02-21 17:52:09 +01:00
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