{"id":18280181,"url":"https://github.com/treasersimplifies/testdouban","last_synced_at":"2025-04-09T04:49:51.102Z","repository":{"id":217610886,"uuid":"240851513","full_name":"treasersimplifies/TestDouban","owner":"treasersimplifies","description":"System test for douban website","archived":false,"fork":false,"pushed_at":"2020-02-16T07:43:17.000Z","size":60080,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T12:34:47.976Z","etag":null,"topics":["douban","douban-movie","selenium","selenium-webdriver","test"],"latest_commit_sha":null,"homepage":null,"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/treasersimplifies.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}},"created_at":"2020-02-16T07:41:58.000Z","updated_at":"2020-02-16T07:44:14.000Z","dependencies_parsed_at":"2024-01-17T13:38:23.971Z","dependency_job_id":null,"html_url":"https://github.com/treasersimplifies/TestDouban","commit_stats":null,"previous_names":["treasersimplifies/testdouban"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treasersimplifies%2FTestDouban","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treasersimplifies%2FTestDouban/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treasersimplifies%2FTestDouban/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treasersimplifies%2FTestDouban/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treasersimplifies","download_url":"https://codeload.github.com/treasersimplifies/TestDouban/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230878581,"owners_count":18294076,"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":["douban","douban-movie","selenium","selenium-webdriver","test"],"created_at":"2024-11-05T12:33:33.612Z","updated_at":"2024-12-22T19:50:58.687Z","avatar_url":"https://github.com/treasersimplifies.png","language":"Python","readme":"# 系统测试——豆瓣\n## 概述\n\n本项目用于对豆瓣网站进行系统测试。测试用例以excel的形式存在，Python程序读取excel中的测试用例，然后去执行，最后输出测试结果到新的excel文件中。\n\n使用到的框架或者模块：```selenium```、```xlrd```、```xlwt```、```xlutils```\n\n## 文件说明\n\n* Excel.py: 使用了```xlrd```模块读取excel文件，```xlutils```和```xlwt```模块写excel文件。\n* TestDouban.py: 使用了```selenium```来操纵浏览器进行网站的各种测试。\n* TestCases.xlsx: 写明了测试用例，皆以```xpath```的形式。\n* TestResults.xls: 生成的测试结果。xls格式而不是xlsx格式。\n* config-template.json: 读取用户的账号密码。写好账号密码后，将其重命名为```config.json```，否则需要手动输入账号密码。\n\n## 安装依赖\n\n```shell\n$ python3 -m pip install [模块名] # 手动去安装一下\n```\n\n## 运行\n\n```shell\n$ python3 TestDouban.py\n```\n\n## 演示\n\nhttps://www.bilibili.com/video/av89356377\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreasersimplifies%2Ftestdouban","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreasersimplifies%2Ftestdouban","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreasersimplifies%2Ftestdouban/lists"}