GithubHelp home page GithubHelp logo

regression-testing's Introduction

Vue.js Regression Test

Regression test for popular libraries in Vue.js ecosystem.

Run periodically against Vue.js dev branch. Can also be manually triggered by pushing to Vue.js regression-test branch.

Build & Run

Since we use CircleCI workflows to speed up tests for multiple libraries, it is not impossible to run them locally.

Included Libraries

How to Add/Update Third Party Libraries

Requirements for Including Libraries

  • Significant user base
  • No failing tests for currently Vue.js stable release
  • No random failing tests

To Add a New Library

Adding a new library requires the following steps:

  • Add git submodule (point to the latest stable release tag)
  • Config test job for CircleCI
    • Take the vuetify job as a reference
    • If tests are run by jest, add --maxWorkers 2 to jest argument list (otherwise it will cause memory issues on CircleCI)
  • Add test job to test_all workflow

To Update an Existing Library

Third-party libraies should be updated manually. The basic idea is to update libraries to their latest stable releases. Release tags are listed on their corresponding GitHub Releases pages.

git submodule update --remote <directory-name>
cd <directory-name>
git checkout <latest-stabe-version>
cd ..
git add <directory-name>
git commit -m 'chore: update library version'
git push

To Run Tests Locally

To run the regression tests locally against a specific commit in the vue repository

./local-test.sh [COMMIT_HASH_OR_BRANCH_NAME]

regression-testing's People

Contributors

kaelwd avatar sodatea avatar vue-regression-test-bot avatar

Stargazers

 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

Watchers

 avatar  avatar  avatar  avatar  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.