Giter VIP home page Giter VIP logo

oxid-codeception-demo's Introduction

PHP Version Stable Version Package Name License Follow me on twitter

OXID eShop Codeception Demo

This project should explain how to write codeception acceptance tests for OXID eShop

Usage

These tests can be used with every OXID eShop which has activated the "Flow Theme". The project was created and tested on OXID eShop 6.2 CE.

Installation on Ubuntu 18.04

You will need the following things to run the tests:

  • The standalone Selenium Server - Download
  • The Goolge Chrome Browser
  • The chromium-chromedriver for ubuntu which can be installed through sudo apt install chromium-chromedriver
  • composer for the package installation

Running tests

First you will have to run composer install in the root of the project. After that you have to export two variables to define your Selenium-Server and the shop you want to test.

$ export WEBDRIVER_URL="127.0.0.1" && export WEBSITE_URL="https://my.oxid-eshop.de"

Now you have to start the Selenium-Server ip which you had downloaded before.

$ java -jar "/path/to/selenium-server-standalone-xxx.jar"

Finally you can run the codeception tests using the following command:

$ vendor/bin/codecept run  

License

The project is released under GPL-3.0. For a full overview check the LICENSE file.

oxid-codeception-demo's People

Contributors

patrick-blom avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

Forkers

indisc

oxid-codeception-demo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.