Skip to content

shishirarora3/regression-tool

Repository files navigation

Chrome Extension for Regression Tool

No More manual test cases or automated test cases required. 100% exhaustive test coverage, by using it before and after code change, for all user interactions captured as actions.

Installations

  1. go to chrome://extensions/
  2. Switch to Developer mode form top-right corner
  3. click "Load unpacked" button and upload extension folder "regression-tool". After this, an icon will appear on browser's top extension bar.

Working(Initial setup)

  1. choose any flow flow to test.
  2. write sequential actions in actions.js, defining the sequence of actions. eg, sequential actions, might be:
  1. click any of the check boxes(#1, #2..) and then press button, giving a unique id to every constituent sub-action.
  2. click any of the radio buttons(#1, #2..) which appear and then press some button
Now tool will take care of all possible permutations of constituent sub-actions, in the sequential actions

Before code change:

Note: in local storage: iter variable tracks the test case no. and snapshots variable tracks snapshots for all test cases.
  1. in actions.js, set takeSnapshots as "true" and iter as -1 in localstorage.
  2. refresh chrome extension and let snapshots get captured.

After code change, to run regression:

  1. in actions.js, set takeSnapshots as "false" and iter as -1 in localstorage.
  2. refresh chrome extension and let the tool diff, new snapshots against old snapshots and log in diff.html file, once it finishes, the report-diff.html will download.

Now, we can overlook deliberate changes and correct un-intentional changes.

About

Chrome Extension For Running Exhaustive Regression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published