{"id":22121097,"url":"https://github.com/pytest-with-eric/run-pytest-in-vscode-example","last_synced_at":"2026-03-16T21:33:30.725Z","repository":{"id":184874169,"uuid":"672609530","full_name":"Pytest-with-Eric/run-pytest-in-vscode-example","owner":"Pytest-with-Eric","description":"How To Run Pytest In VS Code (Easy To Follow Step-By-Step Tutorial)","archived":false,"fork":false,"pushed_at":"2023-08-13T13:32:51.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-24T06:52:43.002Z","etag":null,"topics":["ide-testing","pytest-plugin","pytest-vscode"],"latest_commit_sha":null,"homepage":"https://pytest-with-eric.com/introduction/how-to-run-pytest-in-vscode/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pytest-with-Eric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-30T16:59:18.000Z","updated_at":"2023-10-10T20:28:47.000Z","dependencies_parsed_at":"2023-07-30T18:22:53.206Z","dependency_job_id":"e228d286-0396-4500-88fe-26c45725f483","html_url":"https://github.com/Pytest-with-Eric/run-pytest-in-vscode-example","commit_stats":null,"previous_names":["pytest-with-eric/run-pytest-in-vscode-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Frun-pytest-in-vscode-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Frun-pytest-in-vscode-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Frun-pytest-in-vscode-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Frun-pytest-in-vscode-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pytest-with-Eric","download_url":"https://codeload.github.com/Pytest-with-Eric/run-pytest-in-vscode-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248164231,"owners_count":21058109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ide-testing","pytest-plugin","pytest-vscode"],"created_at":"2024-12-01T14:33:47.014Z","updated_at":"2026-03-16T21:33:30.697Z","avatar_url":"https://github.com/Pytest-with-Eric.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example code for the article **How to Run Pytest in VScode**\n\n## Task\n\nThis repo contains the sample code for the article [How To Run Pytest In VS Code (Easy To Follow Step-By-Step Tutorial)](https://pytest-with-eric.com/introduction/how-to-run-pytest-in-vscode/)\n\n## Code\nThe source code is a simple Python script that calculates the area of various shapes and can be found at `src/calculator.py`. \n\nUnit Tests can be found at `tests/unit/test_calculator.py`\n\n## Requirements\n* Python (3.8+)\n\nPlease create a virtual environment and activate it.\n\nInstall the dependencies via the `requirements.txt` file using \n```commandline\npip install -r requirements.txt\n```\nIf you don't have Pip installed please follow instructions online on how to do it.\n\n## How To Run the Unit Tests\nTo run the Unit Tests, from the root of the repo run\n```commandline\npytest\n```\nor for more verbose output\n```\npytest -v\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-with-eric%2Frun-pytest-in-vscode-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytest-with-eric%2Frun-pytest-in-vscode-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-with-eric%2Frun-pytest-in-vscode-example/lists"}