Commit graph

24 commits

Author SHA1 Message Date
Karthik Nadig
dbf3d60499
Fix for test_setup failure in python 3.7 (#733)
* Logging to find VSTS issue with test_setup

* Fix for test_setup issue

* Remove unused import
2018-08-05 11:04:59 -07:00
Derek Keeler
e33688d52b
Update verbosity when we create junit-style output report files (#608) 2018-07-06 15:56:48 -07:00
Eric Snow
68f3688e1d
Add breakpoints before CMD_RUN is issued. (#521)
(fixes #448)

While #502 helped with the race between enable_attached() and adding breakpoints, there was still a small race left. This PR fixes it by CMD_RUN is not issued until after the breakpoints have been added.
2018-06-25 17:31:00 -06:00
Derek Keeler
e80a669624
Update for VSTS-based CI process (#431)
* Add flake8 configuration files
- .flake8.ci: addendum config for CI to make use of only.
* Add build badge for CI in VSTS
* Enable JUnit style test file output.
- convert_args return value simplified
- allow original style of unittest reporting as well
- remove unnecessary flags from junit xmlrunner
* Use argparse to collect runtime configuration of tests module
2018-06-21 17:09:53 -07:00
Eric Snow
105032c3ae
Run most of the tests under Python 2. (#405) 2018-05-02 18:05:13 -06:00
Eric Snow
7ca01fb2de
Clean up handling of vendored projects. (#383)
* Clean up handling of vendored projects.

* Add the ptvsd._vendored package.

* Try the new location and fall back to the old one.

* Fix a typo.

* Add ptvsd._vendored.list_all().

* Fix setup.py and tests/__main__.py.

* Exclude .pyc files (from python 2).

* Deal with implicit relative imports in 2.7.
2018-04-19 18:20:06 -06:00
Eric Snow
d65c4f793a Add "make check-dap-schema". 2018-03-21 20:13:53 +00:00
Eric Snow
7a5eb10549 Set sys.path when running coverage. 2018-03-21 18:07:28 +00:00
Eric Snow
8603258ef5 Print start dir later. 2018-03-05 23:59:40 +00:00
Eric Snow
6576546fc2 Show the top-level test dir. 2018-03-05 23:59:40 +00:00
Eric Snow
b820519181 lint 2018-03-05 23:59:40 +00:00
Eric Snow
d6dbc09baf Skip network-dependent tests during CI. 2018-03-05 23:59:40 +00:00
Eric Snow
07d2090487 Add a --coverage flag to the tests command. 2018-03-05 23:59:40 +00:00
Eric Snow
ab903400c7 Add a --lint-only flag to the tests command. 2018-03-05 23:59:40 +00:00
Eric Snow
e6d8a32942 Add a --lint flag to the tests command. 2018-03-05 23:59:40 +00:00
Eric Snow
13df4d7b59 Use the vendored pydevd in tests. 2018-03-02 00:57:23 +00:00
Eric Snow
14a333b990 Clarify about unittest.main(). 2018-01-22 17:00:50 +00:00
Eric Snow
689a93cdd8 if -> elif 2018-01-22 16:57:00 +00:00
Eric Snow
a2f8e4bcba Only run the ptvsd unit tests if using Python 2. 2018-01-11 21:00:38 +00:00
Eric Snow
4b7f82a5a2 Add a test option for running just the ptvsd unit tests. 2018-01-11 21:00:33 +00:00
Eric Snow
4032a5fb81 Always show the full unittest help. 2018-01-11 20:27:30 +00:00
Eric Snow
9a61a4eba6 Factor out convert_argv(). 2018-01-09 20:58:05 +00:00
Eric Snow
dc00f36e3e Do not hard-code Python 3. 2018-01-09 20:58:05 +00:00
Eric Snow
58f3a0e5ed Add a __main__ for running the test suite. 2018-01-09 20:58:05 +00:00