anchor.diff:              % doesn't count include files?
               ?assertEqual({ok, {cover_test_module, {2,0}}},
                            cover:analyze(cover_test_module, module)),
  -
  -            ok = meck:new(cover_test_module),
  -            ok = meck:expect(cover_test_module, a, fun() -> c end),
  -            ?assertEqual(c, cover_test_module:a()),
  -
  -            ok = meck:unload(cover_test_module),
  -
  -            ?assert(not filelib:is_file("cover_test_module.coverdata")),
  -
  +            run_mock_no_cover_file(cover_test_module),
               % 2 instead of 3, as above
               ?assertEqual({ok, {cover_test_module, {2,0}}},
                            cover:analyze(cover_test_module, module))
           end)}.
   
  +run_mock_no_cover_file(Module) ->
  +    ok = meck:new(Module),
  +    ok = meck:expect(Module, a, fun () -> c end),
  +    ?assertEqual(c, Module:a()),
  +    ok = meck:unload(Module),
  +    ?assert(not filelib:is_file(atom_to_list(Module) ++ ".coverdata")).
  +
   cover_passthrough_test() ->
       {ok, _} = cover:compile("../test/meck_test_module.erl"),
       {ok, {meck_test_module, {0,3}}} = cover:analyze(meck_test_module, module),
  -
  -    ok = meck:new(meck_test_module, [passthrough]),
  -    ok = meck:expect(meck_test_module, a, fun() -> c end),
  -    ?assertEqual(c, meck_test_module:a()),
  -    ?assertEqual(b, meck_test_module:b()),
  -    ?assertEqual({1, 2}, meck_test_module:c(1, 2)),
  -
  -    ok = meck:unload(meck_test_module),
  +    passthrough_test(),
       {ok, {meck_test_module, {0,3}}} = cover:analyze(meck_test_module, module).
   
   % @doc The mocked module is unloaded if the meck process crashes.
  
positive.code:     ?assertError({cannot_mock_autogenerated, {unicode, module_info, 0}},
                   meck:expect(unicode, module_info, 0, doh)),
      ?assertEqual(ok, meck:unload(unicode)).
  
negative.code:     b = meck_test_module:b(),
      {1, 2} = meck_test_module:c(1, 2),
      {ok, {meck_test_module, {3,0}}} = cover:analyze(meck_test_module, module),
      run_mock_no_cover_file(meck_test_module),
      {ok, {meck_test_module, {3,0}}} = cover:analyze(meck_test_module, module).
  
  cover_options_test_() ->
  