Dave Halter
0445d51d34
Remove the user_scope from the user_context module.
2016-06-27 08:35:24 +02:00
Dave Halter
9930ab5056
Small fixes to make the tests pass again.
2016-06-11 16:50:05 +02:00
Dave Halter
4c711339dd
The integration test runner is now using a different way of getting the supposed results.
...
This is needed, because goto_definition will not work in comments anymore.
2016-06-11 16:33:56 +02:00
Dave Halter
257009d238
Skip pep0484 tests when using Python 2.6.
2016-01-26 15:59:27 -02:00
Dave Halter
6bad5a924b
Making it possible for static analysis tests to be skipped if the python version doesn't match.
2015-12-22 17:37:28 +01:00
Dave Halter
515d096d33
The alternative test runner script shouldn't run on skipped tests.
2015-12-22 11:45:24 +01:00
Dave Halter
23f40d8998
Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484
...
Conflicts:
AUTHORS.txt
2015-12-17 23:46:20 +01:00
Dave Halter
7141158484
Merge master into linter.
2015-12-15 12:28:38 +01:00
Claude
c02668a443
Build in version-dependency in integration tests
...
If a line is encountered with the comment or , then the tests are skipped if the current python version is less than the requested one. All tests until the end of the file, or a new comment specifying a compatibe python version are skipped
2015-12-13 21:42:45 +01:00
Dave Halter
1b634d77af
Add ranged test execution for alternate test runner.
2015-12-06 03:03:11 +01:00
Dave Halter
4361ce0778
test/run.py should be runnable from everywhere.
2015-11-14 23:17:26 +01:00
Sid Shanker
de7273e04b
Fixed utf-8 decoding error in build.
2015-05-17 23:11:23 -07:00
Dave Halter
d49a8fc073
The test runner should only start tests if the name starts with the same letters.
2014-11-17 17:56:43 +01:00
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