最近需要 support SQA 的工作。在我的想象中,要將 SQA 做得好,需要有 automation testing & daily buid 的互相配合
在 automation testing 中,來試試用 robot-framework 來撰寫 test case,以進行整合
robot-framework 中,可以用 python 來寫 custom test libraries 滿有趣的
vim plugin
- robotframework-vim Vim plugin for development with Robot Framework.
- 安裝上述的 plugin,檔案中加上這行
# -*- coding: robot -*-
或是用:setf robot
REST API testing
- Automate REST API testing with ROBOT framework
- REST API TESTING WITH ROBOT FRAMEWORK
- asyrjasalo/RESTinstance - Robot Framework library for RESTful JSON APIs
- ravthiru/RoboFramework_REST_API 建立 docker image 的參考程式
- MarketSquare/robotframework-requests - 由 requests 來建立 robot framework
write test case
有關 test case 的 structure
- Test case structure 分為 Workflow tests & Data-driven tests
- 目前的寫法為 Workflow tests
簡介
- Robot Framework Tutorial 2016 – Keywords ** 這篇值得一看
- [Python] Robot Framework 工作筆記(一)
- Writing Maintainable Automated Acceptance Tests
Reference
- Robot Framework Quick Start Guide 這份先看
- Demo Project
- Robot Framework User Guide ** 完整的 user guide ,滿重要的需要看過一遍
- 可以選擇看那部份的 User Guide
- How to run Robot Framework test from command line? ** 由 command 執行 robot 的方式