Commit graph

25 commits

Author SHA1 Message Date
Rich Chiodo
43f41029ea
Make sure attach binaries are built before running tox (#1753)
* Make sure attach binaries are built before running tox

* Fix errors on 3.13
2024-12-03 15:27:42 -08:00
Rich Chiodo
f7d5df027c
Get Python 3.13 to work (#1692)
* Get debug launch working

* Turn Cython support back on

* Fix test failures

* Fix gevent test to be skipped

* Missed a version change in pipeline

* Fix comment

* Review feedback
2024-10-10 09:03:34 -07:00
Pavel Minaev
4a03787784 Don't build or test on Python 3.7 2023-09-12 11:14:55 -07:00
Pavel Minaev
5723ed6b1a Force setuptools version in tests via tox.ini as well. 2023-09-05 13:20:31 -07:00
Pavel Minaev
88bf2c7827 Fix -Xfrozen_modules use in tests. 2023-08-28 13:14:39 -07:00
Pavel Minaev
83baa6d302 Fix -Xfrozen_modules warnings in test runs on Python 3.11 and 3.12 2023-08-17 11:00:07 -07:00
Pavel Minaev
ed59c6d090 Fix pass_env in tox.ini 2022-12-13 13:11:30 -08:00
Pavel Minaev
1a6c323599 Remove Python 3.6 support. 2022-03-23 15:20:29 -07:00
Pavel Minaev
1b8d5ab0be Remove Python 3.5 from tox.ini 2022-02-24 12:57:56 -08:00
Pavel Minaev
4f12b1b47f Remove Python 2.7 from supported implementations and update versions of test packages. 2022-02-24 12:57:56 -08:00
Pavel Minaev
3a9f7d64c4 Assorted fixes for Python 3.10 support:
Split test/requirements.txt into two different lists, one for py2, and the other for py3; update package versions in py3 list as needed to support py3.10.

Fix usage of deprecated threading functions getName(), setName(), isDaemon(), and currentThread().

Refactor test_invalid_breakpoints to be more declarative to handle Python version differences more easily and clearly, and fix it for py3.10.

Disable Django tests on py3.10 (#689).

Disable gevent tests on py3.10 (#688).
2021-08-06 07:12:13 -03:00
Pavel Minaev
73a4c8b712 Actually run full test matrix for DEBUGBY_TESTS_FULL=1.
Fix full run test failures.
2020-03-05 13:56:22 -08:00
Pavel Minaev
8b4c40e922 Rename ptvsd -> debugpy. 2020-01-17 11:57:13 -08:00
Pavel Minaev
bab70f7427 Make TRAVIS environment variable visible inside Tox. 2019-11-15 11:55:27 -08:00
Pavel Minaev
0825dbeb37 Add code coverage for tests (excluding ptvsd.server and pydevd).
Fix some issues on Python 2.7.

Remove dead code.
2019-09-18 21:42:51 -07:00
Pavel Minaev
c03206972d Fix remaining tests to reflect the debug adapter refactoring changes.
Fix Flask and Django multiprocess tests.

Fix test logs not being captured by pytest.

Fix "import debug_me" check improperly applied in tests where it is unnecessary.

Fix some clarifying patterns not respecting the underlying pattern.

Add pattern helpers for strings: starting_with, ending_with, containing.

Move DAP test helpers to a separate module, and add a helper for frames.

Add support for line markers when setting breakpoints and matching frames.

Assorted test fixes around handling of Unicode and paths.
2019-07-11 16:19:06 -07:00
Pavel Minaev
f71f0a5b0a Tests refactoring. (#1543) 2019-06-28 10:13:00 -07:00
Pavel Minaev
8cca9fcd7a Reorganize source code to reflect the split between the adapter proper and the debug server. 2019-05-23 15:14:50 -07:00
Pavel Minaev
a26f5d0032 Fix #890: Provide option to enable logging
Implement logging framework, and use that in place of existing ad-hoc logging.
2019-03-05 10:49:51 -08:00
Pavel Minaev
b5b1e4145e
Remove code coverage. (#1043)
Remove setup.py test (doesn't work with Tox).
2018-11-19 20:59:02 -08:00
Pavel Minaev
4a146a5f77 Remove unittest-based tests from Travis and Tox. 2018-11-19 01:54:57 -08:00
Pavel Minaev
2be8ce1862 Run unittest-based tests inside Tox as well.
Disable code coverage until #1033 can be fixed.
2018-11-19 01:54:57 -08:00
Pavel Minaev
4176a5275c New and better Travis config, sans Makefile and with Tox for pytests.
Groundwork for test coverage in pytests.
2018-11-19 01:54:57 -08:00
Pavel Minaev
4c4a255056 Allow passing command line arguments to pytest via tox. 2018-11-19 01:54:57 -08:00
Moulik Aggarwal
0a0c66ca9e Automate pytest using tox (#934)
* Automate pytest using tox

* requirements.txt file updated

* Changed test_requirements.txt and tox.ini

* Added python 3.4 in tox file
2018-10-30 18:00:13 -07:00