{"id":20043117,"url":"https://github.com/jinksi/testing-python","last_synced_at":"2026-04-13T05:49:07.724Z","repository":{"id":122494031,"uuid":"427206430","full_name":"Jinksi/testing-python","owner":"Jinksi","description":"An example of testing Python code, used for a hacky hour workshop.","archived":false,"fork":false,"pushed_at":"2021-11-12T02:22:48.000Z","size":952,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T19:44:34.866Z","etag":null,"topics":["pytest","python","testing"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/Jinksi.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":"2021-11-12T02:22:44.000Z","updated_at":"2021-11-12T02:25:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a279f5ac-275b-4ae2-9362-f48c332f99db","html_url":"https://github.com/Jinksi/testing-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jinksi%2Ftesting-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jinksi%2Ftesting-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jinksi%2Ftesting-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jinksi%2Ftesting-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jinksi","download_url":"https://codeload.github.com/Jinksi/testing-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241471762,"owners_count":19968270,"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":["pytest","python","testing"],"created_at":"2024-11-13T10:55:06.783Z","updated_at":"2025-12-31T01:05:32.699Z","avatar_url":"https://github.com/Jinksi.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Testing in Python example\n\nWatch the recording of this hacky hour discussion to see the original failing test scenarios. These should all pass!\n\n### Topics\n\n- Static testing\n- Assertions (Sanity Check)\n- Unit testing\n\n### Example task\n\n- Load a CSV of bounding boxes ([Data from luderick-seagrass dataset](https://github.com/globalwetlands/luderick-seagrass))\n- Find the center x point of each bounding box\n- Calculate the mean of the center x points\n\n![example bbox](example_bbox.png)\n\n## To run the example code\n\n### Install requirements\n\n- In terminal, run `pip install -r requirements.txt`\n\n### Run Jupyter notebook\n\n- In terminal, run `jupyter notebook`\n- Alternatively, open with VSCode with Python extension\n- Open [get_bbox_center.ipynb](get_bbox_center.ipynb)\n\n### Run unit tests\n\n- Unit tests are written in [utils_test.py](utils_test.py)\n- In terminal, run `pytest`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjinksi%2Ftesting-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjinksi%2Ftesting-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjinksi%2Ftesting-python/lists"}