Commit Graph

207 Commits

Author SHA1 Message Date
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
David Halter
ce0aadc9a5 fix problems with certain builtins (names were just stupid, like '_sqlite3.cpython-32mu' / python 2.5 may have an error more #84 2012-12-19 23:12:15 +01:00
David Halter
099e2410ad added test count to test result 2012-12-16 04:09:45 +01:00
David Halter
2b579eb09b many bugfixes related to fast_parser 2012-12-15 16:38:21 +01:00
David Halter
30fef3ffde added time used by test script 2012-12-12 21:38:22 +01:00
David Halter
6bdda36205 removed all the weakref stuff again. It didn't speed up anything, but made things much more complicated 2012-12-09 16:33:24 +01:00
David Halter
ac610f97fb remove mem_debug again, was just temporary 2012-12-09 15:34:33 +01:00
David Halter
151bd3c5a1 test for star_import cache that wasn't invalidated 2012-12-09 14:40:24 +01:00
David Halter
92dea00f0d hopefully fixes a long-lasting problem with weakrefs 2012-12-05 00:34:18 +01:00
David Halter
299f52c04b renamed BytesIO to StringIO, because it no longer made sense 2012-11-02 18:10:23 +01:00
David Halter
ee524eb2a9 again: try to use unicode, #52 2012-11-02 18:05:04 +01:00
David Halter
0704873fd7 switched completely to unicode (in python2), fixes #52 2012-11-02 16:08:38 +01:00
David Halter
c7e8278ca4 changed rename tests 2012-09-22 16:06:30 +02:00
Danilo Bargen
80cf9a7709 Fixed tests 2012-09-17 22:45:08 +02:00
David Halter
7e62c47f22 functions -> api 2012-09-15 15:49:42 +02:00
David Halter
e184bb441c huge functions refactoring 2012-09-15 15:44:51 +02:00
David Halter
9b7d82a251 showing function params working now on both sides, but not joined 2012-09-15 03:57:22 +02:00
David Halter
444e4fd466 sys path modifications working not only on imports, but on everything 2012-09-14 04:03:32 +02:00
David Halter
9a2ec13230 sys path modifications 2012-09-14 03:05:31 +02:00
David Halter
6e0cc7f15f fixed one off bug for all tests 2012-09-10 11:25:47 +02:00
David Halter
b29fdbdfde refactorings for related_names 2012-09-10 10:22:18 +02:00
David Halter
da3c327af7 get_related_names testing 2012-09-10 00:52:01 +02:00