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.
Since we use CircleCI workflows to speed up tests for multiple libraries, it is not impossible to run them locally.
- Significant user base
- No failing tests for currently Vue.js stable release
- No random failing tests
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
tojest
argument list (otherwise it will cause memory issues on CircleCI)
- Take the
- Add test job to
test_all
workflow
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 the regression tests locally against a specific commit in the vue repository
./local-test.sh [COMMIT_HASH_OR_BRANCH_NAME]