MicroAB is an A/B Testing API for express applications. Typically A/B testing frameworks provide an SDK bundle which affects page load time. Microab is a thin middleware for express application enabling A/B testing via a node server with persistence in redis.
npm install --save microab
const microab = ;const cookieParser = ;app;const microabClient = microab;microabClient;
This will create 2 tests with their appt configs and store them in redis
Check Test Results
This middleware will create an object in
res.locals asper the test name for the home route. The middleware can used to check the ab test result for various routes.
This can now be used in your route handler, in which ever way the developer wishes to.
should give you a response like this
- Complete basic test cases
- Create some for of tracking via a CLI interface
- Implement a web interface where tests can be addded and edited
Found a bug
File it here