Golem - 一个简单但是强大的自动化测试框架

网友投稿 621 2022-10-30

Golem - 一个简单但是强大的自动化测试框架

Golem -  一个简单但是强大的自动化测试框架

Intro

Automate end to end tests in minutes, not hours.

Golem is a complete test automation tool and framework for end-to-end testing. It creates powerful, robust and maintainable test suites, yet it is easy to pick up and learn even without a lot of programming knowledge. It is based on Selenium Webdriver and it can be extended using python.

It can:

Use the Page Object patternWrite tests with multi data sets (data-driven)Run tests in parallel.Test APIsRun tests remotely (Selenium Grid or a cloud testing provider)It can be executed from Jenkins or any other CI tool

It has:

A complete GUI module (a web application) to write and execute testsA reporting engine and a web reports moduleAn interactive console

Contents

Screen CapturesPre-requisitesInstallationQuick StartDocumentationExample ProjectsRoadmapLicense

Screen Captures

Test Builder

Test as Pure Python Code

Report Dashboard

Execution Report

Test Execution Detail

Pre-requisites

Basic knowledge of Selenium Webdriver is required. Check out this docs first.

Installation

Golem works with Python 3.4+

pip install golem-framework

Read the full installation guide here: http://golem-framework.readthedocs.io/en/latest/installation.html

Quick Start

Create a test directory anywhere in your machine

golem-admin createdirectory

Download the latest webdriver executables Note: Golem needs the latest webdrivers in order to work, by default, it will pick up the executables placed in the /drivers directory, this setting can be overriden from the settings. The latests versions of the webdrivers can be found here:

Chrome: (https://sites.google.com/a/chromium.org/chromedriver/)Firefox: (https://github.com/mozilla/geckodriver/releases)

For more information check this page of the documentation.

Start the Web Module

cd python golem.py gui

The Web Module can be accessed at http://localhost:5000/

By default, the following user is available: username: admin / password: admin

Documentation

Read the full documentation here: http://golem-framework.readthedocs.io/

Example Projects

Here is a repo with example working projects usign Golem: https://github.com/lucianopuccio/golem-demo

Roadmap

Integrate with Appium for mobile testingBetter integration with Sauce LabsImprove API test Golem actionsVideo recording

License

MIT

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:jenkins
下一篇:自动补全(春季每日一题 58)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~