Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/golemhq/golem-tests
Tests for the Golem project.
https://github.com/golemhq/golem-tests
automation golem python selenium selenium-webdriver test-automation
Last synced: about 1 month ago
JSON representation
Tests for the Golem project.
- Host: GitHub
- URL: https://github.com/golemhq/golem-tests
- Owner: golemhq
- Created: 2017-10-02T20:05:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-04T20:34:20.000Z (about 3 years ago)
- Last Synced: 2024-10-01T04:31:31.236Z (about 1 month ago)
- Topics: automation, golem, python, selenium, selenium-webdriver, test-automation
- Language: Python
- Homepage: https://github.com/golemhq/golem
- Size: 427 KB
- Stars: 4
- Watchers: 5
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golem Tests
Tests for the [Golem](https://github.com/golemhq/golem) project.
Read the full documentation here: http://golem-framework.readthedocs.io/
# Install
## Requirements
* Python 3.5+
## Install Golem
```
pip install golem-framework
```## Clone This Repo
```
git clone https://github.com/golemhq/golem-tests.git
cd golem-tests
```## Download Webdrivers
```
webdriver-manager update
```# Suites
This repository contains three projects: **golem_api**, **golem_gui** and **golem_integration**
## golem_gui
These are Golem tests that test the Golem GUI. So meta... (⌐■_■)
A Golem GUI instance must be running in port 8000.
This will be considered the System Under Test.Open a new console pointing to a different location than before and run:
```
golem-admin createdirectory test
cd test
golem gui -p 8000
```Then from the first console run:
```
golem run golem_gui regression
```## golem_api
Tests for the Golem web application API. The GUI must be running on port 8000:
```
golem run golem_api .
```## golem_integration
These are tests that ensure the Browser class, Element class and actions module work as expected.
### Stage environment
Points to https://www.web-playground.net/
```
golem run golem_integration regression -e stage
```### Test environment (local)
An instance of the [Web Playground](https://github.com/golemhq/web-playground) must be running in port 6565.
Open a second console and run:
```
pip install web-playground
web-playground
```From the first console:
```
golem run golem_integration regression -e test
```# Open the Reports
Start the Golem GUI:
```
golem run gui
```Then the reports are available here:
http://localhost:5000/report/golem_gui/http://localhost:5000/report/golem_api/
http://localhost:5000/report/golem_integration/