{"id":21076310,"url":"https://github.com/coderoad/pytest-coderoad-deprecated","last_synced_at":"2025-08-24T17:44:11.060Z","repository":{"id":57332171,"uuid":"54534156","full_name":"coderoad/pytest-coderoad-deprecated","owner":"coderoad","description":"Python PyTest Test Runner for CodeRoad","archived":false,"fork":false,"pushed_at":"2016-07-05T21:27:17.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-16T03:32:27.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://coderoad.github.io","language":"JavaScript","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/coderoad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-23T05:45:47.000Z","updated_at":"2019-09-13T02:53:48.000Z","dependencies_parsed_at":"2022-09-21T03:43:55.990Z","dependency_job_id":null,"html_url":"https://github.com/coderoad/pytest-coderoad-deprecated","commit_stats":null,"previous_names":["coderoad/pytest-coderoad"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderoad%2Fpytest-coderoad-deprecated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderoad%2Fpytest-coderoad-deprecated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderoad%2Fpytest-coderoad-deprecated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderoad%2Fpytest-coderoad-deprecated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderoad","download_url":"https://codeload.github.com/coderoad/pytest-coderoad-deprecated/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243521251,"owners_count":20304185,"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":[],"created_at":"2024-11-19T19:27:49.521Z","updated_at":"2025-03-14T03:43:31.090Z","avatar_url":"https://github.com/coderoad.png","language":"JavaScript","readme":"# PyTest CodeRoad\n\n[PyTest](http://pytest.org/latest/) Python test runner for [Atom-CodeRoad](https://github.com/coderoad/atom-coderoad).\n\n[Learn more about CodeRoad](https://coderoad.github.io), an interactive coding tutorial creator built inside of Atom.\n\n### Setup\n\nInstall Python\n\n    pip install -U pytest\n    pip install tap.py\n\n\n### Writing Tests\n\nThere are two parts your tests will need: a **task number** and a **feedback message**. You'll also need to load user created **workspace files** to run the tests on. You may also want to load additional **data files**.\n\n##### Task number\n\nClass title specifying the task number: `class Test##`\n\n      class Test01:\n        # tests here\n\n      class Test02:\n        # tests here\n\n##### Feedback message\n\nTest method providing the feedback message and starting with `test_`\n\n      class Test01:\n        def test_b_is_not_true(self):\n          assert b == True\n          # fails with message \"b is not true\"\n\n        def test_a_is_not_one(self):\n          assert a == 1\n          # fails with message \"a is not one\"\n\n\n##### Loading Files\n\n**Workspace files** (created by the user) can be loaded inside of comments\n\n    # load('file.py')\n\nThese files will be loaded from the users working directory.\n\n**Data files** can be loaded by setting a second parameter to `true`.\n\n    # load('path/to/data.py', true)\n\nData files will load from the specified tutorial directory in *package.json*.\n\n*package.json*\n\n    config {\n      tutorialDir: 'tutorial'\n    }\n\n##### Complete Example\n\nSee the [examples](//github.com/coderoad/pytest-coderoad) directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderoad%2Fpytest-coderoad-deprecated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderoad%2Fpytest-coderoad-deprecated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderoad%2Fpytest-coderoad-deprecated/lists"}