precise-alloy / regression-test

Home Page:https://tuyen.blog/optimizely-cms/testing/get-started/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Precise Alloy - Regression Test

Please check Documentation for the instructions.

Get latest features and bug fixes for the tool

  1. Add a remote to base test framework (only need to run one time):

    git remote add hn https://github.com/precise-alloy/regression-test.git
  2. Periodically, get latest test frame work features and bug fixes by running the below command:

    git fetch hn
    git merge hn/master
  3. Commit/Push the changes to the project's repository.

Compare between old and new environment

  1. Run below command:

    $env:REPLACEMENT_PROFILE = 'default'
  2. Execute your test suites as usual.
    The tests now run on old env with ref command and new env with test command`.

  3. When your tasks are finished, either close the terminal or run below command to reset the profile:

    $env:REPLACEMENT_PROFILE = ''

Use command aliases

  1. Run the following command:

    . ./alias.ps1
  2. Use new command aliases:

    Command Alias 1 Alias 2
    npm run ref -- --test-suite alloy r alloy ref alloy
    npm run approve -- --test-suite alloy a alloy approve alloy
    npm run ref -- --test-suite alloy t alloy test alloy

About

https://tuyen.blog/optimizely-cms/testing/get-started/

License:MIT License


Languages

Language:JavaScript 66.6%Language:TypeScript 31.3%Language:PowerShell 2.0%Language:CSS 0.1%