profile
viewpoint
Nikolay Kondratyev kondratyev-nv Moscow, Russia https://linkedin.com/in/kondratyevnv Software developer with strong desire to learn and interest in large-scale software systems, web services, software design and architecture.

kondratyev-nv/vscode-python-test-adapter 31

Python Test Adapter for the VS Code Test Explorer

kondratyev-nv/training 1

Solutions to various programming challenges in Java, C++ and Python

kondratyev-nv/awesome-browser-extensions-for-github 0

A collection of awesome browser extensions for GitHub.

kondratyev-nv/awesome-github-extensions 0

A curated list of awesome browser extensions for GitHub. Inspired by awesome-python, which is inspired by awesome-php.

kondratyev-nv/easy-markdown-to-github-pages 0

Convert Markdown files in Github to a full website using Github Pages

kondratyev-nv/hof 0

Higher-order functions for c++

kondratyev-nv/jekyll-theme-littlefox 0

A simple theme for Jekyll based on whiteglass and minima

kondratyev-nv/kondratyev-nv.github.io 0

Personal resume in markdown

kondratyev-nv/latex-template 0

LaTeX templates for PhD thesis and beamer

delete branch kondratyev-nv/vscode-python-test-adapter

delete branch : fix_skipped_tests

delete time in a day

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha ad38b89055312de571d41e1a4b56a9df3c34d587

Activate settings skipped tests

view details

Nikolay Kondratyev

commit sha 34241f964c0247a0352d235b56320df84ed4ea76

Fix text

view details

Nikolay Kondratyev

commit sha 015d7d08250c00de439e881d3ac88c4399c69faf

Disable junit test reporting for debugging

view details

Nikolay Kondratyev

commit sha ae0fd0db8a1bc647d59e9e2c6864e950bc86f425

Another attempt to fix Linux tests on Azure

view details

Nikolay Kondratyev

commit sha 75541e8a13cce6f1ceb27b1bdb3c682d0ff48625

Merge pull request #188 from kondratyev-nv/fix_skipped_tests Activate settings skipped tests

view details

push time in a day

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha ae0fd0db8a1bc647d59e9e2c6864e950bc86f425

Another attempt to fix Linux tests on Azure

view details

push time in a day

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 5750383b7dd033ac19cce414717d6c989c2f7a26

Another attempt to fix Linux tests on Azure

view details

push time in a day

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 015d7d08250c00de439e881d3ac88c4399c69faf

Disable junit test reporting for debugging

view details

push time in 2 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 273d8405900929ad2cc2668c8fd565d83db4fe02

Disable junit test reporting for debugging

view details

push time in 3 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 34241f964c0247a0352d235b56320df84ed4ea76

Fix text

view details

push time in 5 days

create barnchkondratyev-nv/vscode-python-test-adapter

branch : fix_skipped_tests

created branch time in 5 days

issue commentkondratyev-nv/vscode-python-test-adapter

Support python.unitTest.pyTestPath configuration property

@lucono I've just published a new version 0.5.0 with supporting pytestPath setting. Please, update and let me know if it works for you.

kondratyev-nv

comment created time in 7 days

issue commentkondratyev-nv/vscode-python-test-adapter

Debugging configuration isn't respected

@smurpau I've just published a new version 0.5.0 with loading name and console debug options from launch.json. Please, update and let me know if the issue persists.

smurpau

comment created time in 7 days

created tagkondratyev-nv/vscode-python-test-adapter

tagv0.5.0

Python Test Adapter for the VS Code Test Explorer

created time in 7 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha af4fe4e77fbad32d5366ce7db2600746170bd638

Changelog for a new version, update README

view details

Nikolay Kondratyev

commit sha 799e22edf3841a437bd89637ddc0a2491c33cd77

0.5.0

view details

push time in 7 days

delete branch kondratyev-nv/vscode-python-test-adapter

delete branch : debug_console_config

delete time in 8 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 36363d0a1718be9a7c0db780b49282e0024a716a

Allow changing console in launch.json

view details

Nikolay Kondratyev

commit sha 0ad865cbd2a865b8566fd2f4e3c82585785ffbdb

Respect debug configuration name from launch.json

view details

Nikolay Kondratyev

commit sha e8399ecdbdd864335053d82fbfb19e6a5a085363

Merge pull request #187 from kondratyev-nv/debug_console_config Debug console config

view details

push time in 8 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 0ad865cbd2a865b8566fd2f4e3c82585785ffbdb

Respect debug configuration name from launch.json

view details

push time in 8 days

issue commentkondratyev-nv/vscode-python-test-adapter

Debugging configuration isn't respected

Oh, I see. Never noticed that selector. I can change the behavior. So, I can suggest a couple of options.

  1. Use the name from the launch.json configuration. In that case, multiple executions will always be in the same session.
  2. Use the name from the launch.json configuration as a prefix. So, the session would be named like <name from configuration> - <test method debugged>.

I haven't used that functionality in VSCode, so I don't mind any of these options. Do you have any preferences?

smurpau

comment created time in 9 days

issue commentkondratyev-nv/vscode-python-test-adapter

Debugging configuration isn't respected

The extension will look for a configuration in launch.json with "type": "python" and "request": "test" to load any of the following options during debugging

  • env
  • stopOnEntry
  • showReturnValue
  • redirectOutput
  • debugStdLib
  • justMyCode
  • subProcess

For example,

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug test configuration",
            "type": "python",
            "request": "test",
            "console": "externalTerminal",
            "justMyCode": false,
            "stopOnEntry": true
        }
    ]
}

You can set name for the configuration to anything you like. This is just for your convenience, it won't affect UI or any functionality. Also, console option is not loaded at the time, but I will fix it in the next couple of days.

smurpau

comment created time in 9 days

create barnchkondratyev-nv/vscode-python-test-adapter

branch : debug_console_config

created branch time in 9 days

delete branch kondratyev-nv/vscode-python-test-adapter

delete branch : run_pytest_module

delete time in 10 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 5eb0494783fa52988571bdd2ca40d7d371767acd

Run pytest as module when pytestPath is not a path

view details

Nikolay Kondratyev

commit sha a87a182c61d15881653efc2e6cabbbc7906af259

Fix pytest script on Windows

view details

Nikolay Kondratyev

commit sha 9c909315bc606648d6b09f27a62788cce34c3130

Increase pytest script tests timeout

view details

Nikolay Kondratyev

commit sha b7761fc4371742e04be81ec77a84096576adfd64

Fix pytest script

view details

Nikolay Kondratyev

commit sha 2c58c9a389830c22ad242414b55692b59028f477

Increase pytest script tests timeout #2

view details

Nikolay Kondratyev

commit sha 8100f8e55f47b4ce4f81b0277a9df9163fe43167

Merge pull request #184 from kondratyev-nv/run_pytest_module Run pytest as module when pytestPath is not a path

view details

push time in 10 days

issue commentkondratyev-nv/vscode-python-test-adapter

Debugging configuration isn't respected

@smurpau Thank you for the issue! Indeed, right now internalConsole is hardcoded, but other properties are loaded from launch.json file. I will try to fix it so that console could be also loaded from launch.json file in the next release.

smurpau

comment created time in 10 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 2c58c9a389830c22ad242414b55692b59028f477

Increase pytest script tests timeout #2

view details

push time in 10 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha b7761fc4371742e04be81ec77a84096576adfd64

Fix pytest script

view details

push time in 10 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 9c909315bc606648d6b09f27a62788cce34c3130

Increase pytest script tests timeout

view details

push time in 11 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha a87a182c61d15881653efc2e6cabbbc7906af259

Fix pytest script on Windows

view details

push time in 11 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha e29f1195c96ae1124bef2ddd7d3ab0b770f1ee1d

Fix pytest script on Windows

view details

push time in 11 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 1f74cca33ba4e99510c1b2f3073041b41c615b40

Fix pytest script on Windows

view details

push time in 11 days

create barnchkondratyev-nv/vscode-python-test-adapter

branch : run_pytest_module

created branch time in 12 days

issue commentkondratyev-nv/vscode-python-test-adapter

Support python.unitTest.pyTestPath configuration property

@lucono It might be the case when testing.pytestPath is set to something like pytest, pytest.sh, or any other filename-like value. For a case like pytest.sh it would be enough to set to a path like ${workspaceFolde}/pytest.sh to run it as an executable.

kondratyev-nv

comment created time in 12 days

issue commentkondratyev-nv/vscode-python-test-adapter

Support python.unitTest.pyTestPath configuration property

@lucono I've found a case with a virtual environment when pytest is not recognized as a command.

  1. Remove any global pytest packages.
  2. Setup virtual environment with python -m venv .venv
  3. Set python.pythonPath to .venv/bin/python
  4. Try to discover tests in Test Explorer.

I see two possible ways to fix it. First is to modify PATH before running a command (get a base path from pythonPath setting and prepend it in PATH). Another one is to do it similarly to how Python Extension does it - https://github.com/DonJayamanne/pythonVSCode/blob/7a58ce8ab29b37393fb0027f151e2a2185477db1/src/client/testing/common/runner.ts#L57 (when value of pytestPath is the same as its basename, run it as a module, see https://github.com/DonJayamanne/pythonVSCode/blob/7a58ce8ab29b37393fb0027f151e2a2185477db1/src/client/testing/common/runner.ts#L123). I'll work on the second option, but if you have any concerns, please, do let me know.

kondratyev-nv

comment created time in 13 days

issue commentkondratyev-nv/vscode-python-test-adapter

Can we use this extension with Django?

@bblanchon Thank you for the issue! I don't have a lot of experience with Django so an example with tests would be of help. I'll also try to find an example to reproduce the issue. In the meantime, have you tried using pytest to run your tests? You can try running it from the command line

$python -m pytest

If it works you can setup the Test Explorer to use pytest to run tests.

bblanchon

comment created time in 14 days

delete branch kondratyev-nv/vscode-python-test-adapter

delete branch : python38_builds

delete time in 14 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 0346a821eefc5815f4d66a2a0bb9c6ad7345f79f

Add Python 3.8 builds

view details

Nikolay Kondratyev

commit sha cca428ded175ed1e0e7c51932fe600ad6531e66f

Merge pull request #183 from kondratyev-nv/python38_builds Add Python 3.8 builds

view details

push time in 14 days

create barnchkondratyev-nv/vscode-python-test-adapter

branch : python38_builds

created branch time in 15 days

push eventkondratyev-nv/vscode-python-test-adapter

lucono

commit sha 7ffe47833e27fc7fe811c2d38b13e292652d94d1

Initial support for testing.pytestPath

view details

lucono

commit sha 2f255d86f007e17711884f3a8f96c0c5daea68b9

Fixes for pytest discovery output plugin

view details

lucono

commit sha 0fda9b9fe7e027515094050aefa2e5b81ebcb9a2

Code cleanup and fixes

view details

lucono

commit sha d375670fe36561cece144ada64d887e7a6dfab5e

Add recommended tslint extension to devcontainer

view details

lucono

commit sha 190fe25baa1de803b07110fdf6d21b8f60ce0007

Minor fixes and cleanup

view details

lucono

commit sha 41da4e996f0c946f0144044428088f6a3faa4ff8

Fix pytest plugin module not found for python2

view details

lucono

commit sha a64ae05a238edfaf6537874d4a0246f95de45b26

Update python resources folder structure

view details

lucono

commit sha 20e6cf1ae5a3d8f186872aff69b2fbe3b6fc03c0

Revert @types/vscode version to 1.23.0 to resolve engines.vscode version mismatch

view details

Nikolay Kondratyev

commit sha 947d5c22af385ef3a8b74007931d91d64aaef398

Merge pull request #182 from lucono/master Add support for the `python.testing.pytestPath` config property

view details

push time in 16 days

PR merged kondratyev-nv/vscode-python-test-adapter

Add support for the `python.testing.pytestPath` config property

Addresses issue #60 to provide proper support for the python.testing.pytestPath property.

  • Switches from executing Python with the pytest wrapper/plugin script to executing Pytest directly.
  • Provides the Discovery Output plugin to Pytest by using per-execution additions to the PYTHONPATH and PYTEST_PLUGINS environment variables which does not pollute any other Python or Pytest process or execution context.
  • (Also adds a devcontainer for optional development in a container).
+961 -264

1 comment

18 changed files

lucono

pr closed time in 16 days

pull request commentkondratyev-nv/vscode-python-test-adapter

Add support for the `python.testing.pytestPath` config property

Thanks for the help! 👍 I'll also check if everything is ok and publish a new version in a couple of days.

lucono

comment created time in 16 days

Pull request review commentkondratyev-nv/vscode-python-test-adapter

Add support for the `python.testing.pytestPath` config property

 pytest.main(sys.argv[1:], plugins=[PythonTestExplorerDiscoveryOutputPlugin()])`;         return states;     } +    private async loadEnvironmentVariables(config: IWorkspaceConfiguration): Promise<IEnvironmentVariables> {+        const environment = await EnvironmentVariablesLoader.load(config.envFile(), process.env, this.logger);++        const updatedPythonPath = [+            config.getCwd(),

Yeah, I think it would be better overall.

lucono

comment created time in 16 days

PullRequestReviewEvent

Pull request review commentkondratyev-nv/vscode-python-test-adapter

Add support for the `python.testing.pytestPath` config property

+

I think it would be better to place these files to a resources/python/pytest folder. What do you think?

lucono

comment created time in 17 days

Pull request review commentkondratyev-nv/vscode-python-test-adapter

Add support for the `python.testing.pytestPath` config property

 pytest.main(sys.argv[1:], plugins=[PythonTestExplorerDiscoveryOutputPlugin()])`;         return states;     } +    private async loadEnvironmentVariables(config: IWorkspaceConfiguration): Promise<IEnvironmentVariables> {+        const environment = await EnvironmentVariablesLoader.load(config.envFile(), process.env, this.logger);++        const updatedPythonPath = [+            config.getCwd(),+            environment.PYTHONPATH,+            DISCOVERY_OUTPUT_PLUGIN_INFO.PACKAGE_PATH+        ].filter(item => item).join(path.delimiter);

I believe it should be os.pathsep instead of path.delimiter. In case this is an error, is there a way to catch it in tests?

lucono

comment created time in 17 days

PullRequestReviewEvent
PullRequestReviewEvent

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha a317786b7304a0c12bec675568c03cf154cd2373

Trying to fix Azure Pipeline triggers

view details

push time in 17 days

issue commentkondratyev-nv/vscode-python-test-adapter

Export junit report

@timrid I've published a new version 0.4.6 with respecting junitxml option during test execution. You can now provide a custom path to generate a report in python.testing.pytestArgs. For example,

{
    "python.testing.pytestArgs": ["--junitxml=results.xml"]
}

However, notice that a report would be generated using xunit1 format (like setting junit_family=xunit1 in pytest.ini).

timrid

comment created time in 20 days

release kondratyev-nv/vscode-python-test-adapter

v0.4.6

released time in 20 days

created tagkondratyev-nv/vscode-python-test-adapter

tagv0.4.6

Python Test Adapter for the VS Code Test Explorer

created time in 21 days

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 4192916c66e80edec914a3e1c6cb51ca1589b1f1

Changelog for a new version

view details

Nikolay Kondratyev

commit sha 0813810eb7170b23beb29136c0ea30e9669f1389

0.4.6

view details

push time in 21 days

issue closedkondratyev-nv/vscode-python-test-adapter

Not all tests get executed

I have the Issue that only one of my tests classes is executed:

image

However the normal python test explorer catches them all:

image

My settings.json:

image

The structure of my project looks like this:

image

Full project structure can be seen here

So what is wrong here?

closed time in 23 days

SandroWissmann

issue commentkondratyev-nv/vscode-python-test-adapter

TestCase not show in Python Test Explorer and CodeLens adornments If one of pytest testcases got error during testcase discorver process

@SilenceHe Thank you for the issue. It looks like you're using Test Explorer from the Python Extension and not the Python Test Explorer. In case you're using Python extension to discover and run your tests, please, report the error to them - https://github.com/Microsoft/vscode-python.

However, if you have Python Test Explorer installed it should show any tests with errors to you. It looks like this image

If Python Test Explorer does not show any tests, please, look at messages at Python Test Adapter Log in the Output section. It would be of help if you show the errors from that log and your settings (like python.pythonPath).

SilenceHe

comment created time in 24 days

issue commentkondratyev-nv/vscode-python-test-adapter

Not all test get executed

@SandroWissmann Glad to hear that you've got it fixed. I've tried to set up virtual env in a virtual folder, but still don't see any problems. I think we can close this issue, and if you have any other problems or suggestions, please, create a new issue.

SandroWissmann

comment created time in 24 days

issue commentkondratyev-nv/vscode-python-test-adapter

Not all test get executed

@SandroWissmann Thank you for clarification. Can you please tell me what version of Python you are using? While trying to reproduce the issue, I’ve installed pytest and numpy dependencies. Do you have any pytest plugins installed? Does running tests from the command line work for you? Can you show the output of something like ’’’ python -m pytest tests ’’’

SandroWissmann

comment created time in 25 days

issue commentkondratyev-nv/vscode-python-test-adapter

Not all test get executed

@SandroWissmann Thank you for the issue! Unfortunately, I can't reproduce it. I've cloned the repo you've provided, and I can discover and run tests without any issues. image

Do you run all tests with the "Run all tests" button at the top of the Test Explorer panel? Also, what version of Python are you using? Have you tried looking at messages from the Python Test Adapter Log in the Output section?

SandroWissmann

comment created time in 25 days

delete branch kondratyev-nv/sdk

delete branch : fix_install_script_macos

delete time in a month

issue commentkondratyev-nv/vscode-python-test-adapter

python.pythonPath is being deprecated. This change breaks test-explorer

@dfioravanti Thank you for the issue and detailed explanation! I will take a look.

dfioravanti

comment created time in a month

delete branch kondratyev-nv/minesweeper

delete branch : dependabot/npm_and_yarn/elliptic-6.5.3

delete time in a month

push eventkondratyev-nv/minesweeper

dependabot[bot]

commit sha 00535d1664648aa1be8e3e0daf524333bd891fef

Bump elliptic from 6.5.2 to 6.5.3 Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3) Signed-off-by: dependabot[bot] <support@github.com>

view details

Nikolay Kondratyev

commit sha 6d97798ce716058149efa2e83701f546cfa13671

Merge pull request #18 from kondratyev-nv/dependabot/npm_and_yarn/elliptic-6.5.3 Bump elliptic from 6.5.2 to 6.5.3

view details

push time in a month

PR merged kondratyev-nv/minesweeper

Bump elliptic from 6.5.2 to 6.5.3 dependencies

Bumps elliptic from 6.5.2 to 6.5.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/indutny/elliptic/commit/8647803dc3d90506aa03021737f7b061ba959ae1"><code>8647803</code></a> 6.5.3</li> <li><a href="https://github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec"><code>856fe4d</code></a> signature: prevent malleability and overflows</li> <li>See full diff in <a href="https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in a month

push eventkondratyev-nv/name-genarator-extension

dependabot[bot]

commit sha 0eb6420577f13ad296cb6556fdae6e1c2258a581

Bump elliptic from 6.5.2 to 6.5.3 Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3) Signed-off-by: dependabot[bot] <support@github.com>

view details

Nikolay Kondratyev

commit sha f4b7394cb61d8a21f29e11fc49686304a84111cc

Merge pull request #11 from kondratyev-nv/dependabot/npm_and_yarn/elliptic-6.5.3 Bump elliptic from 6.5.2 to 6.5.3

view details

push time in a month

PR merged kondratyev-nv/name-genarator-extension

Bump elliptic from 6.5.2 to 6.5.3 dependencies

Bumps elliptic from 6.5.2 to 6.5.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/indutny/elliptic/commit/8647803dc3d90506aa03021737f7b061ba959ae1"><code>8647803</code></a> 6.5.3</li> <li><a href="https://github.com/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec"><code>856fe4d</code></a> signature: prevent malleability and overflows</li> <li>See full diff in <a href="https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in a month

issue commentkondratyev-nv/vscode-python-test-adapter

Tests not being found

@ChildishGiant I believe you're working with https://github.com/cloverleaf/web repository. I've tried it myself and with a little bit of changing the settings it looks like it works image

I've customized python.pythonPath

ChildishGiant

comment created time in a month

issue commentkondratyev-nv/vscode-python-test-adapter

Tests not being found

@ChildishGiant Please, make sure that we're talking about the same extension - Python Test Explorer and consult the Python Test Adapter Log in the Output section to understand better what arguments are used to discover tests.

If this is possible, please, share a reproducible example or at least your settings and folder structure. Also, I can suggest trying to discover tests from the command line first. This can be of help to understand if something is wrong with the extension or your tests.

For unittest I can suggest running the following

python -m unittest discover -v -s <your_test_folder> -p <file_name_pattern_to_discover_tests>

For example python -m unittest discover -v -s tests -p "test_*.py"

ChildishGiant

comment created time in a month

delete branch kondratyev-nv/vscode-python-test-adapter

delete branch : support_custom_junit_path

delete time in a month

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 501cfe7095f6104239b3f18324368b4d8748ae3b

Support for custom junitxml argument

view details

Nikolay Kondratyev

commit sha f7b268740291da7e87df302d049e51d893c19754

Fixed and added tests

view details

Nikolay Kondratyev

commit sha 8b77a1084faaa8a6fc64daf7a958b086c96b0461

Removed unnecessary argument

view details

Nikolay Kondratyev

commit sha a8a6baedb7b14c496b62572da777ef02580ab5bd

Merge pull request #176 from kondratyev-nv/support_custom_junit_path Support custom junit path

view details

push time in a month

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 8b77a1084faaa8a6fc64daf7a958b086c96b0461

Removed unnecessary argument

view details

push time in a month

issue commentkondratyev-nv/vscode-python-test-adapter

Compile error when updating from V 0.1.28 67aafd0

@ChildishGiant Thank you for the issue! I believe you have the problem is with V language. However, I believe it does not have anything to do with the Python Test Explorer for Visual Studio Code. So, please, report your problem to their repository - https://github.com/vlang/v.

ChildishGiant

comment created time in a month

issue commentkondratyev-nv/vscode-python-test-adapter

Tests not being found

@ChildishGiant Thank you for the issue! It looks like the error in the log is produced by Python extension, not the Python Test Explorer. In case you're using Python extension to discover and run your tests, please, report the error to them - https://github.com/Microsoft/vscode-python.

Anyway, if you have Python Test Explorer installed and it does not show any tests, please, look at messages at Python Test Adapter Log in the Output section. It would be of help if you show the errors from that log and your settings (like python.pythonPath).

ChildishGiant

comment created time in a month

issue commentkondratyev-nv/vscode-python-test-adapter

Export junit report

@timrid Thank you for the issue! I can see there are two problems there.

  1. Python Test Adapter writes junit report to a temporary file. So at the moment, there is no easy way to get that report.
  2. Combining results of multiple test executions to a single junit report.

I can address the first problem so that a user can provide a path to a junit xml report in arguments, and extension would look at that file to get the results. Please tell me if this feature is required to you.

However, I believe the second problem is better to be addressed by pytest team or some kind of a pytest plugin. So please create an issue at https://github.com/pytest-dev/pytest repo or look for any similar plugins.

timrid

comment created time in a month

issue commentdotnet/install-scripts

SH doesn't correctly grab global.json sdk version

It looks like the issue can be fixed by removing the line https://github.com/dotnet/install-scripts/blob/master/src/dotnet-install.sh#L471

sdk_list="$(echo -e "${sdk_list}" | tr -d '[[:space:]]')"

On macOS, echo does not have a -e argument, so all lines of key-value pairs in sdk_list are merged into a single line. Removing it seems to fix it.

I've already created a PR in sdk repo - https://github.com/dotnet/sdk/pull/12339, as I thought that was the right place to fix it. All tests are passed and I've added more tests to reproduce the issue there.

I can create a similar PR in the install-scripts repo. However, ./build.sh from the root of the repo throws and error, and I don't see tests (as in https://github.com/dotnet/sdk/blob/master/src/Tests/InstallationScript.Tests/GivenThatIWantToInstallTheSdkFromAScript.cs) to make sure that changes are working. If anyone can suggest a way to build this repo and test the changes I would be happy to open a PR.

jbobo

comment created time in a month

pull request commentdotnet/sdk

Fix SDK version parsing from global.json in install script on macOS

@marcpopMSFT Thanks for the help! I've created an issue in install-scripts repo https://github.com/dotnet/install-scripts/issues/61 concerning that problem. Unfortunately, I wan not able to create a similar PR in install-scripts repo, so I'll wait for a response to the issue.

kondratyev-nv

comment created time in a month

issue commentdotnet/install-scripts

SDK version parsing from global.json is not working on macOS

I can create a similar PR as https://github.com/dotnet/sdk/pull/12339. However, ./build.sh from the root of the repo throws and error, and I don't see tests (as in https://github.com/dotnet/sdk/blob/master/src/Tests/InstallationScript.Tests/GivenThatIWantToInstallTheSdkFromAScript.cs) to make sure that changes are working.

kondratyev-nv

comment created time in a month

issue openeddotnet/install-scripts

SDK version parsing from global.json is not working on macOS

This is the same problem as in https://github.com/dotnet/sdk/pull/12339.

Running install script dotnet-install.sh with jsonfile argument works on macOS only when sdk section has a single property version. When sdk section has multiple properties, for example,

"sdk": {
    "version":  "5.0.100-preview.6.20310.4",
    "allowPrerelease": true,
    "rollForward": "major"
  }

a version is detected as 5.0.100-preview.6.20310.4allowPrerelease:truerollForward:major. Also, in a case when version is not the first property in sdk a version can not be detected returning an error dotnet_install: Error: Unable to find the SDK:version node in `global.json`.

created time in a month

push eventkondratyev-nv/sdk

dotnet-maestro[bot]

commit sha d9656b143c08d40c7450d32d3d5adaf5bf7e44f2

Update dependencies from https://github.com/NuGet/NuGet.Client build 5.5.0.6319 (#13130) - NuGet.Build.Tasks - 5.5.0-preview.1.6319

view details

William Godbe

commit sha 2cd94a5139abceb8079c94af9c04d97052a2b726

Pin dependency on Microsoft.Netcore.App refpack to 3.1.0 (#3737)

view details

dotnet-maestro[bot]

commit sha 7b112c5a21cbd246e9e2e4de9cd50567b75f243a

Update dependencies from https://github.com/dotnet/arcade build 20191127.5 (#3753) - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19577.5

view details

dotnet-maestro[bot]

commit sha ee2dc9d1a446ba70b39043443e1e99a659c8a9c3

Update dependencies from https://github.com/dotnet/arcade build 20191127.5 (#13136) - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19577.5

view details

dotnet-maestro[bot]

commit sha 3adb78d1e8968c05c7aa5d60cc3566da5728d5b5

Update dependencies from https://github.com/dotnet/arcade build 20191127.5 (#13132) - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19577.5

view details

William Godbe

commit sha 389568aeeece179d6ccf9ddd52397e464569a211

Pin dependency on Microsoft.Netcore.App refpack to 3.1.0 (#13131)

view details

William Li

commit sha ee9d6d67a0f8e30b37929f9cff2cfad9e4087c23

Merge branch 'release/3.1.2xx' into merge/release/3.1.1xx-to-release/3.1.2xx

view details

William Li

commit sha 82af11ae71ef8ba6c1b826fab7cc6f706df37ac6

Merge branch 'release/3.1.2xx' into merge/release/3.1.1xx-to-release/3.1.2xx

view details

William Godbe

commit sha 5e71754413e28c54aac68f030f28571ba8a0331e

Merge pull request #3688 from dotnet-maestro-bot/merge/release/3.1.1xx-to-release/3.1.2xx [automated] Merge branch 'release/3.1.1xx' => 'release/3.1.2xx'

view details

William Godbe

commit sha 388274f43112d9f145ba20339e73d1daa5957ea1

Merge pull request #13112 from dotnet-maestro-bot/merge/release/3.1.1xx-to-release/3.1.2xx [automated] Merge branch 'release/3.1.1xx' => 'release/3.1.2xx'

view details

dotnet-maestro[bot]

commit sha 9d547ab689fd3e54e16523a5acef317e98eb6aa7

Update dependencies from https://github.com/dotnet/templating build 20191127.2 (#13134) - Microsoft.TemplateEngine.Cli - 3.1.1-servicing.19577.2

view details

dotnet-maestro[bot]

commit sha 3ad10806927aa05982a33a32ac947506af53db47

Update dependencies from https://github.com/aspnet/AspNetCore build 20191125.14 (#13124) - Microsoft.AspNetCore.DeveloperCertificates.XPlat - 3.1.0-rtm.19575.14

view details

dotnet-maestro[bot]

commit sha ea2570ca5a1498cb23ffc06fa33f32dc5852e42b

Update dependencies from https://github.com/dotnet/arcade build 20191203.16 (#3769) - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19603.16

view details

dotnet-maestro[bot]

commit sha 690b3ddc6e8d4596dc52a601024cdb9d6f9c3505

Update dependencies from https://github.com/dotnet/arcade build 20191203.16 (#3770) - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19603.16

view details

William Li

commit sha 4c3d4f1128fb92ecb3fa88aa36e6afb7a97f87dd

Update branching to "preview"

view details

William Li

commit sha 1753f2f418a9c66322d4295d1af60e0f3cd0c47e

Update branching to "preview"

view details

dotnet-maestro[bot]

commit sha 83f7c747bd808c0b80cef33a2d1967035ee49f7c

Update dependencies from https://github.com/dotnet/arcade build 20191203.16 (#3768) - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19603.16

view details

dotnet-maestro[bot]

commit sha dbe33a5d334171bf47c9745293f809c2667cbd97

Update dependencies from https://github.com/NuGet/NuGet.Client build 5.5.0.6319 (#3735) - NuGet.Build.Tasks - 5.5.0-preview.1.6319

view details

dotnet-maestro[bot]

commit sha 1711fe95ee1e65a5f7b690f2d551cb4eaaefab7a

[release/3.1.1xx] Update dependencies from aspnet/AspNetCore-Tooling (#3730) * Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20191126.6 - Microsoft.NET.Sdk.Razor - 3.1.1-servicing.19576.6 * Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20191127.2 - Microsoft.NET.Sdk.Razor - 3.1.1-servicing.19577.2

view details

dotnet-maestro[bot]

commit sha 2c9568d3215aaa883d0752ca221318c7e415fd3a

Update dependencies from https://github.com/dotnet/core-setup build 20191126.08 (#3729) - Microsoft.NETCore.App.Runtime.win-x64 - 3.0.2-servicing-19576-08

view details

push time in a month

delete branch kondratyev-nv/vscode-python-test-adapter

delete branch : fix_pytest_compatibility

delete time in 2 months

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 8ea48129d870bc12a80e9749b50b0f3843e5fc82

Removed deprecated pytest argument

view details

Nikolay Kondratyev

commit sha 9baa7234333a402b301835db336f1f5df4787fb5

Merge pull request #173 from kondratyev-nv/fix_pytest_compatibility Removed deprecated pytest argument

view details

push time in 2 months

delete branch kondratyev-nv/vscode-python-test-adapter

delete branch : vscode_test_migration

delete time in 2 months

push eventkondratyev-nv/vscode-python-test-adapter

Nikolay Kondratyev

commit sha 0afe67c80850e34f2ebe477e0eb611319e76f2ac

Update dependencies, migrate to vscode-test

view details

Nikolay Kondratyev

commit sha 7da4b68af9143185ec4ecc8d78d60a14c0cc4ada

Fix running tests from command line

view details

Nikolay Kondratyev

commit sha fc41dcdfa0e8ec2e257345784bb7bc91822cde18

Merge pull request #171 from kondratyev-nv/vscode_test_migration Migration to vscode-test + Update dependencies

view details

push time in 2 months

create barnchkondratyev-nv/vscode-python-test-adapter

branch : vscode_test_migration

created branch time in 2 months

push eventkondratyev-nv/kondratyev-nv.github.io

Nikolay Kondratyev

commit sha cad3419bb494612732640e19c4795fe7f94602b2

Removed extra symbols

view details

push time in 2 months

delete branch kondratyev-nv/kondratyev-nv.github.io

delete branch : dependabot/bundler/activesupport-6.0.3.2

delete time in 2 months

push eventkondratyev-nv/kondratyev-nv.github.io

dependabot[bot]

commit sha a32006787b6025f645e9cb236f6167f01b286760

Bump activesupport from 6.0.2.2 to 6.0.3.2 Bumps [activesupport](https://github.com/rails/rails) from 6.0.2.2 to 6.0.3.2. - [Release notes](https://github.com/rails/rails/releases) - [Changelog](https://github.com/rails/rails/blob/v6.0.3.2/activesupport/CHANGELOG.md) - [Commits](https://github.com/rails/rails/compare/v6.0.2.2...v6.0.3.2) Signed-off-by: dependabot[bot] <support@github.com>

view details

Nikolay Kondratyev

commit sha 0c21c37a17182a30ed759196f43a36c9f923deef

Merge pull request #1 from kondratyev-nv/dependabot/bundler/activesupport-6.0.3.2 Bump activesupport from 6.0.2.2 to 6.0.3.2

view details

push time in 2 months

more