Skip to content

app test with unittest & poco & BeautifulReport

Notifications You must be signed in to change notification settings

360MStester/app_test_poco

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unittest + airtest(poco) + BeautifulReport


说明

  • unittest 框架管理测试用例
  • 使用 poco 进行元素的定位和操作
  • BeautifulReport 作为测试结果的报告

使用

  • unittest 框架,在 test_cases 下对应模块的目录中添加用例
  • 直接运行 runner.py 执行所有用例
  • 报告生成在 ./report 目录下
  • 用例成功的截图保存在 ./img 目录下

未解决问题

  • 极验破解
  • poco 目前不支持 toast 的处理

注:poco 的元素定位可以通过使用 airtest IDE 进行,具体 airtest 的用法请查看官方文档

About

app test with unittest & poco & BeautifulReport

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%