The tool that let you diff JS SDK events between multiple browsers that run locally or on BrowserStack. Given 2 SDK urls (eg. one from CDN, one fresh bundle stored on S3), it'll show the differences between each corresponding usecase. Each usecase is a single way to throw an exception and it provides enough confidence to know, that your core changes didn't break a way in which SDK catches and translates them into the events.
- Deploy to EC2
- SSH into the instance
- `node app.js
- Move process to the background
BROWSERSTACK_USERNAME=<username> BROWSERSTACK_ACCESS_KEY=<key> node run.js
or locally:HOST=<ec2-instance-url> BROWSERSTACK_USERNAME=<username> BROWSERSTACK_ACCESS_KEY=<key> node run.js
Run the app as explained above and go to http://localhost:3000/old
first and then to http://localhost:3000/new
.
Observe the diff inside the terminal output.
To add a new usecase copy/paste one of previous directories in usecases
directory and change its behavior. The rest is automatic.