Takafumi Arakaki
|
c87d3dad52
|
Remove unused imports
|
2013-03-12 11:04:15 +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
|
1fffbf13ca
|
Fix test failures because imports.py uses base.py
|
2013-03-12 10:18:18 +01:00 |
|
Takafumi Arakaki
|
b5764c1446
|
Remove old utility functions in test.base
|
2013-03-12 10:11:26 +01:00 |
|
Takafumi Arakaki
|
ff80988a75
|
Remove old test code
|
2013-03-12 10:02:19 +01:00 |
|
Takafumi Arakaki
|
49f635dca3
|
Add a failing test due to import hack
|
2013-03-12 10:01:57 +01:00 |
|
Takafumi Arakaki
|
cee167e3d2
|
Run py.test in clean cache directory
And finally remove XDG_CACHE_HOME=... in tox.ini.
|
2013-03-12 09:30:13 +01:00 |
|
Takafumi Arakaki
|
13b48632e5
|
Better assertion message formatter
|
2013-03-12 07:58:40 +01:00 |
|
Takafumi Arakaki
|
71bb93224d
|
Ignore first N failures in Python 2.5
|
2013-03-12 07:48:20 +01:00 |
|
Takafumi Arakaki
|
180d0a8764
|
Rename regression.py to test_regression.py
in order to let py.test collect the tests.
|
2013-03-12 07:12:44 +01:00 |
|
Takafumi Arakaki
|
0f9761aac7
|
Fix tests for Python 3.2 (use relative import)
|
2013-03-12 07:11:37 +01:00 |
|
Takafumi Arakaki
|
a993dd0da4
|
Fix test_refactor
It was not run because test cases were collected from test/complete
instead of test/refactor.
|
2013-03-12 07:00:44 +01:00 |
|
Takafumi Arakaki
|
a31ba8737a
|
Run refactoring test using py.test
refactor.collect_file_tests is fixed; it uses global variable
refactoring_test_dir which is not defined when refactor is used
as a module.
|
2013-03-12 06:50:03 +01:00 |
|
David Halter
|
fb0b8b0fc1
|
Merge pull request #149 from tkf/definition-in-call
Fallback to callee definition when definition not found (fixes #131)
|
2013-03-10 21:14:15 -07:00 |
|
David Halter
|
124fadae28
|
Merge pull request #154 from tkf/refactor-refactoring-test
Refactor test/refactor.py
|
2013-03-10 21:07:01 -07:00 |
|
David Halter
|
d08b135363
|
Merge pull request #153 from tkf/pytest
Use py.test
|
2013-03-10 21:04:10 -07:00 |
|
Takafumi Arakaki
|
9791f04555
|
Reduce args for RefactoringCase
|
2013-03-10 23:06:42 +01:00 |
|
Takafumi Arakaki
|
2362e290d8
|
Separate methods in RefactoringCase
|
2013-03-10 23:06:41 +01:00 |
|
Takafumi Arakaki
|
0a13b8f114
|
Separate test collection and run in refactoring.py
|
2013-03-10 23:06:39 +01:00 |
|
Takafumi Arakaki
|
50e1fad8f6
|
Remove tests from regression.py
|
2013-03-10 21:29:09 +01:00 |
|
Takafumi Arakaki
|
fa231b58a8
|
Add more test cases in completion/definition.py
|
2013-03-10 21:29:09 +01:00 |
|
Takafumi Arakaki
|
5f49fb8c7c
|
Add blackbox tests using column number
|
2013-03-10 21:29:09 +01:00 |
|
Takafumi Arakaki
|
31df9a92fe
|
Add test/completion/definition.py
|
2013-03-10 21:29:09 +01:00 |
|
Takafumi Arakaki
|
c6c17d7ed5
|
Add known failing test for function_definition
|
2013-03-10 21:29:09 +01:00 |
|
Takafumi Arakaki
|
ab79689cee
|
Use unittest2 for Python < 2.7
|
2013-03-10 21:28:27 +01:00 |
|
Takafumi Arakaki
|
3542b7f80a
|
Refactor tests for function_definition
|
2013-03-10 21:27:34 +01:00 |
|
Takafumi Arakaki
|
4d6abfb8de
|
Fix a failing test in Python 3
|
2013-03-10 21:27:34 +01:00 |
|
Takafumi Arakaki
|
1eae32c182
|
Skip test case for finding definition at f( |)
|
2013-03-10 21:27:34 +01:00 |
|
Takafumi Arakaki
|
c546323bca
|
Tests for f(| ) and f( |) (the latter fails)
|
2013-03-10 21:27:34 +01:00 |
|
Takafumi Arakaki
|
9490730d59
|
Treat case like f()
|
2013-03-10 21:27:34 +01:00 |
|
Takafumi Arakaki
|
8f3db6976b
|
Fix test for issue #94
|
2013-03-10 21:27:34 +01:00 |
|
Takafumi Arakaki
|
b8e3e0c157
|
Add tests for Script.definition when in function call
|
2013-03-10 21:27:34 +01:00 |
|
David Halter
|
d063aa3d66
|
Merge pull request #141 from tkf/attribute-docstring
Attribute docstring support
|
2013-03-10 13:23:47 -07:00 |
|
David Halter
|
91ee75d5a2
|
Merge pull request #152 from tkf/refactor-integration-test
Refactor integration test runner
|
2013-03-10 13:07:34 -07:00 |
|
Takafumi Arakaki
|
a02940f3c1
|
Rename api.get_definitions to defined_names
Do the same for Definition.get_definitions also.
|
2013-03-10 20:40:52 +01:00 |
|
Takafumi Arakaki
|
bc32844bd7
|
Add TestGetDefinitions.test_dotted_assignment
|
2013-03-10 20:40:52 +01:00 |
|
Takafumi Arakaki
|
3fbe7e9ff4
|
Rewrite get_definitions using evaluate.get_names_of_scope
- Definition.names is changed to Definition.name.
- TestGetDefinitions.test_nested_definitions fails.
|
2013-03-10 20:40:14 +01:00 |
|
Takafumi Arakaki
|
89bfdd2b2d
|
Test that full_name works with get_definitions
|
2013-03-10 20:40:14 +01:00 |
|
Takafumi Arakaki
|
08f45d1f95
|
Fix Definition.get_definitions
|
2013-03-10 20:40:14 +01:00 |
|
Takafumi Arakaki
|
d0ad14adf4
|
Fix Definition.names for star import
|
2013-03-10 20:40:14 +01:00 |
|
Takafumi Arakaki
|
ba7d29f542
|
Add a test for multiple assignment
|
2013-03-10 20:40:14 +01:00 |
|
Takafumi Arakaki
|
cbcaa85108
|
Add :attr:Definition.names
|
2013-03-10 20:40:14 +01:00 |
|
Takafumi Arakaki
|
39feecee04
|
Add new API: jedi.api.get_definitions
|
2013-03-10 20:40:14 +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
|
59030daa60
|
Add --test-files option to py.test
At this point, py.test should be equivalent to test/run.py
|
2013-03-10 19:00:46 +01:00 |
|
Takafumi Arakaki
|
9018cea22e
|
Rewrite integration test using py.test
|
2013-03-10 19:00:44 +01:00 |
|
Takafumi Arakaki
|
3b41a47c08
|
Re-add sys.path setup in test/base.py
|
2013-03-10 18:58:32 +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 |
|