require-abtest
require-abtest copied to clipboard
Allow tests to re-use names
Similar to #4, we should be able to re-use the names for tests. If I run a test like this:
require ['test!purchase'], (Purchase) ->
# logic
This will cookie the user for a year. In a couple of months time, if I run another test on the purchase file the A/B testing plugin will re-use our old cohorts. Not ideal if I've changed the ratio.
Potential solution in #4.