{"id":23235659,"url":"https://github.com/jmsdaq/pytest","last_synced_at":"2025-10-14T13:11:54.612Z","repository":{"id":267121733,"uuid":"896689042","full_name":"jmsdaq/pytest","owner":"jmsdaq","description":"Backend project showcasing pytest unit testing, GitLab CI/CD integration, and detailed test reports for QA automation.","archived":false,"fork":false,"pushed_at":"2024-12-08T13:35:00.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T02:42:03.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/jmsdaq.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":"2024-12-01T03:18:11.000Z","updated_at":"2025-01-29T06:24:00.000Z","dependencies_parsed_at":"2024-12-08T14:39:32.167Z","dependency_job_id":null,"html_url":"https://github.com/jmsdaq/pytest","commit_stats":null,"previous_names":["jmsdaq/pytest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmsdaq/pytest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsdaq%2Fpytest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsdaq%2Fpytest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsdaq%2Fpytest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsdaq%2Fpytest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmsdaq","download_url":"https://codeload.github.com/jmsdaq/pytest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmsdaq%2Fpytest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018704,"owners_count":26086605,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-19T03:29:12.492Z","updated_at":"2025-10-14T13:11:54.584Z","avatar_url":"https://github.com/jmsdaq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Pytest-Centric Backend Testing Project\nWelcome! This repository is built to showcase **pytest-driven testing** for a modular backend application. Designed with a QA mindset, it emphasizes clean, structured unit testing and smooth CI/CD integration via GitLab pipelines.\n\n## Highlights\n- **Pytest-Focused Testing:** Comprehensive unit tests for business logic and RESTful API endpoints.\n- **Modular Architecture:** Includes models for `User`, `Product`, and `ShoppingCart`, with Flask routes for user and cart management.\n- **GitLab CI/CD:** Automated pipeline to run tests and generate actionable reports on every commit.\n\n## Project Layout\n```bash\n.  \n├── app/  \n│   ├── __init__.py       # Initializes the Flask app  \n│   ├── models.py         # User, Product, and Order models  \n│   ├── routes.py         # REST API endpoints  \n│   ├── shopping_cart.py  # ShoppingCart functionality  \n├── tests/  \n│   └── test_app.py       # Pytest test cases  \n├── .gitlab-ci.yml        # GitLab CI/CD pipeline configuration  \n├── requirements.txt      # Project dependencies  \n└── README.md             # You're reading it now!  \n```\n## Setup\n1. Clone the Repository:\n\n```bash\ngit clone \u003crepo_url\u003e  \n```\n2. Install Dependencies:\n\n```bash\npip install -r requirements.txt  \n```\n\n3. Run the Application:\n```bash\npython app.py\n```\n\n## Running Tests\n- Run all tests:\n```bash\npytest\n```\n\n- For detailed reports:\n```bash\npytest -v --maxfail=1 --disable0warnings\n```\n\n## CI/CD Integration\nThe GitLab pipeline `(.gitlab-ci.yml)` ensures:\n\n- Automated testing on every push.\n- Easy integration of test reports for quick analysis.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsdaq%2Fpytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmsdaq%2Fpytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmsdaq%2Fpytest/lists"}