Coder Social home page Coder Social logo

e2e-test-explore's Introduction

Peregrine CMS automated testing

End-to-end tests for Peregrine CMS.

Getting Started

Clone the test framework from here: https://github.com/peregrine-cms/e2e-test-explore.git Currently the develop branch is the only branch with any code.

After checking out the develop branch, run:

npm install

to install everything you need to run tests.

Next, check that the test runner script runs is runnable:

./scripts/percli-testrun --help

(I had to chmod+x to make this script executable, not sure windows equivalent)

From there, if Peregrine CMS is running, you can use the test runner script to start running tests:

./scripts/percli-testrun -t navigation

or

./scripts/percli-testrun -t navigation -s 

to run with a broswer

Command Line Arguments

Parameter Description
-d, --dockerinstance [tag] run tests against peregrine docker container. (default: develop)
-f, --feature [features] run test for specific feature or features (comma-sepatated)
-i, --interactiveshell run codeceptjs in shell mode
-l, --loglevel [loglevel] specify output level: none, steps, debug, or verbose (default: steps)
-p, --pattern [pattern] run tests that match pattern
-r, --reporting include allure reporting output
-s, --showbrowser run tests with browser
-t, --tag [tags] run tests that match a specific tag or tags (comma-sepatated)

Note for Windows users:

Windows-Build-Tools is required to build this project. Run the following command in an administrative shell:

npm install --global windows-build-tools

e2e-test-explore's People

Contributors

devintuffy avatar bkheadwire avatar rubenreusser avatar

Watchers

Ruben avatar James Cloos avatar  avatar

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.