Git Product home page Git Product logo

extensions-e2e-core-tests's Introduction

extensions-e2e-core-tests

Shell scripts to run WooCommerce end to end tests in Travis for WooCommerce extensions

Install

Copy bin/run-e2e-CI.sh into your tests suite bin folder:

wget https://raw.githubusercontent.com/woocommerce/extensions-e2e-core-tests/master/bin/run-e2e-CI.sh -P tests/bin/

Update your travis file:

addons:
  chrome: stable
  apt:
    packages:
      - nginx

sudo: false

matrix:
  fast_finish: true
  include:
  - php: 7.2
    env: WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 RUN_E2E=1 E2E_FOLDER='core_e2e_tests'

install:
  - bash tests/bin/run-e2e-CI.sh install

before_script:
  - bash tests/bin/run-e2e-CI.sh before

script:
  - bash tests/bin/run-e2e-CI.sh run

Install phpcs ruleset

To add the ruleset globally to phpcs

composer global require extendables/woocommerce-extension-testing:dev-master 

Now it can be used anywhere with phpcs --standard=Extendables

extensions-e2e-core-tests's People

Contributors

budzanowski avatar ferdev avatar roykho avatar superdav42 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

extensions-e2e-core-tests's Issues

Activate scrutinizer for all repos

Scrutinizer is used to run phpcs. It has advantages over Travis in that builds will fail only if new issues are detected. Also encourage all devs to install the scrutinizer browser extension and not merge PRs with failing tests.

Enable build failed Slack notifications

In order to create a tight feedback loop it would be good if we could automatically send a Slack message to the author of a PR when the build fails. There is a solution created at pullpanda.com but this has since disappeared from the marketplace and I'm not sure what happened with it. With or without Pull Panda we probably need to create a mc/matticspace component which can know the slack username for ever github user. This way we could enable notifications across a8c for ever repo on github if we want.

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.