# File lib/abingo.rb, line 192
  def participating_tests(only_current = true)
    participating_tests = Abingo.cache.read("Abingo::participating_tests::#{identity}") || []
    tests_and_alternatives = participating_tests.inject({}) do |acc, test_name|
      alternatives_key = "Abingo::Experiment::#{test_name}::alternatives".gsub(" ","_")
      alternatives = Abingo.cache.read(alternatives_key)
      acc[test_name] = find_alternative_for_user(test_name, alternatives)
      acc
    end
    if (only_current)
      tests_and_alternatives.reject! do |key, value|
        Abingo.cache.read("Abingo::Experiment::short_circuit(#{key})")
      end
    end
    tests_and_alternatives
  end