{"id":16138888,"url":"https://github.com/slxiao/python-test-automation-atoz","last_synced_at":"2025-08-12T09:09:55.969Z","repository":{"id":107156137,"uuid":"221183040","full_name":"slxiao/python-test-automation-AtoZ","owner":"slxiao","description":"Python test automation tricks from A to Z, with examples","archived":false,"fork":false,"pushed_at":"2019-11-14T09:00:21.000Z","size":87,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T17:35:52.096Z","etag":null,"topics":["a-z","python-tricks","test-automation"],"latest_commit_sha":null,"homepage":null,"language":null,"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/slxiao.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":"2019-11-12T09:47:24.000Z","updated_at":"2023-03-09T00:24:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"13bf25a7-6b01-40d7-ae30-c08b6f3df3db","html_url":"https://github.com/slxiao/python-test-automation-AtoZ","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slxiao/python-test-automation-AtoZ","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slxiao%2Fpython-test-automation-AtoZ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slxiao%2Fpython-test-automation-AtoZ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slxiao%2Fpython-test-automation-AtoZ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slxiao%2Fpython-test-automation-AtoZ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slxiao","download_url":"https://codeload.github.com/slxiao/python-test-automation-AtoZ/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slxiao%2Fpython-test-automation-AtoZ/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270033267,"owners_count":24515463,"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-08-12T02:00:09.011Z","response_time":80,"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":["a-z","python-tricks","test-automation"],"created_at":"2024-10-09T23:46:19.686Z","updated_at":"2025-08-12T09:09:55.939Z","avatar_url":"https://github.com/slxiao.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n\nTest automation is one major application of the Python programming langurage. Inspired by [An A-Z of useful Python tricks](https://www.freecodecamp.org/news/an-a-z-of-useful-python-tricks-b467524ee747/) (which however focuses on Python basics), I created this repo to present A-Z useful tricks for Python automated tesing domain.\n\nThe tricks is composed by awesome Python testing features, libraries and frameworks. Generally, they can be classified into two parts:\n\n- **Python-specific testing tricks**. For example, python `unittest`, python `coverage`. There tools are used for testing Python programs. In other words, they are dedicetd for Python langurage whilebox testing.\n- **General-purpose testing tricks**. Since Python is general-purpose langurage, many test automation tools are written in Python and generally, they can be used in any kind of (blackbox) testing. Such tools include `Robot Framework`, `Selenium`, `pytest` and etc.\n\n\n[公众号文章](./wechat.md)\n\n# A-Z of Python test automation tricks\n\n- [assert](https://www.programiz.com/python-programming/assert-statement)\n\n- [bahave](https://github.com/behave/behave)\n\n- [coverage.py](https://github.com/nedbat/coveragepy)\n\n- [doctest](https://docs.python.org/2/library/doctest.html)\n\n- [elasticsearch](https://elasticsearch-py.readthedocs.io/)\n\n- [ftplib](https://docs.python.org/3/library/ftplib.html)\n\n- [gauge-python](https://github.com/getgauge/gauge-python)\n\n- [html](https://docs.python.org/3/library/html.html)\n\n- [ipython](https://github.com/ipython/ipython)\n\n- [json](https://docs.python.org/3/library/json.html)\n\n- [kubernetes](https://github.com/kubernetes-client/python)\n\n- [locust](https://locust.io/)\n\n- [mock](https://docs.python.org/3/library/unittest.mock.html)\n\n- [nose2](https://github.com/nose-devs/nose2)\n\n- [os](https://docs.python.org/3/library/os.html)\n\n- [pytest](https://docs.pytest.org/en/latest/)\n\n- [Queue](https://docs.python.org/3/library/queue.html)\n\n- [Robot Framework](https://robotframework.org/)\n\n- [Selenium](https://selenium-python.readthedocs.io/)\n\n- [tox](https://tox.readthedocs.io/)\n\n- [unittest](https://docs.python.org/3/library/unittest.html)\n\n- [VCR.py](https://github.com/kevin1024/vcrpy)\n\n- [webbrowser](https://docs.python.org/2/library/webbrowser.html)\n\n- [xml](https://docs.python.org/2/library/xml.etree.elementtree.html)\n\n- [yappi](https://github.com/sumerc/yappi)\n\n- [zope.testbrowser](https://github.com/zopefoundation/zope.testbrowser)\n\n# Examples\n\n[Code examples](./examples) of the above tools.\n\n# Lisense\nMIT\n\n# Author\nThis repo is created by [Shelwin Xiao](https://slxiao.github.io/). He is the author of 微信公众号《[测试不将就](https://slxiao.github.io/img/wechat-public.png)》.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslxiao%2Fpython-test-automation-atoz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslxiao%2Fpython-test-automation-atoz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslxiao%2Fpython-test-automation-atoz/lists"}