Commits on May 21, 2012
  1. References are opaque

    erl_parse:abstract/1 chokes on references.  Make sure we don't feed it
    any by making contains_opaque/1 return true for anything that contains
    a reference.
    committed May 21, 2012
Commits on May 6, 2012
  1. @eproxus
  2. @eproxus

    Version 0.7.2

    eproxus committed May 6, 2012
  3. @eproxus
  4. @eproxus
  5. @eproxus
Commits on Mar 29, 2012
  1. Merge pull request #62 from garret-smith/master

    Fix typo in no_passthrough_cover atom
    Adam Lindberg committed Mar 29, 2012
Commits on Mar 28, 2012
  1. @garret-smith
Commits on Mar 11, 2012
  1. @eproxus

    Fix dialyzer warnings (fixes #58)

    eproxus committed Mar 11, 2012
Commits on Mar 10, 2012
  1. Merge pull request #57 from Erkan-Yilmaz/master

    Remove repetition and typo in documentation
    Adam Lindberg committed Mar 9, 2012
Commits on Mar 9, 2012
  1. @Erkan-Yilmaz

    remove repetition; typo

    Erkan-Yilmaz committed Mar 9, 2012
Commits on Feb 28, 2012
  1. Add passthrough coverage info to change log

    Adam Lindberg committed Feb 28, 2012
  2. Merge pull request #56 from rzezeski/rz-passthrough-cover

    Record cover data on passtrhough calls
    Adam Lindberg committed Feb 28, 2012
Commits on Feb 27, 2012
  1. @rzezeski

    Record cover data on passtrhough calls

    If a module with cover instrumentation is mocked then make sure to
    instrument any passtrhough calls.  This way coverage analysis is still
    available for passtrhough calls.
    
    This functionality can be disabled via the `no_passthrough_cover`
    option.
    
    Implementation Details
    ----------------------
    
    This is coded for the specific use case of running eunit tests from
    rebar with coverage analysis enabled.  Previously, if just some of the
    functions in a src module were mocked then all coverage analyis on
    said module, while it was mocked, was lost.
    
    1. check if module is instrumented for coverage
    
    2. compile `<name>_meck_original` (thus known as `OriginalMod`) and
       then cover compile it
    
    3. let meck do it's thing
    
    4. during unload/termination of mocked module make sure to first
       export the cover data collected on `OriginalMod`, after exporting
       modify the data to use the real modules name
       (e.g. `foo_meck_original` -> `foo`), this way the data can be
       imported and counted against `foo`
    
    5. let meck do it's usual cleanup
    
    6. during restore import the `OriginalMod` coverage data
    
    Tricks are played with cover's BEAM code so that private functions can
    be called.  This was done to avoid creating temporary files and
    copy/pasting code from cover.
    rzezeski committed Jan 22, 2012
Commits on Jan 22, 2012
  1. Merge pull request #55 from shino/parametrized-module

    Allow mocking of parametrized modules
    Adam Lindberg committed Jan 22, 2012
  2. Add unit tests of parametrized module mocking

    Shunichi Shinohara committed Jan 22, 2012
Commits on Jan 21, 2012
  1. Handle module paramter in converting module attribute

    Shunichi Shinohara committed Jan 21, 2012
Commits on Jan 12, 2012
  1. Merge pull request #54 from michaelklishin/patch-1

    Update list of OTP releases in .travis.yml
    Adam Lindberg committed Jan 12, 2012
  2. @michaelklishin
  3. Fix indentation

    Adam Lindberg committed Jan 12, 2012
  4. Merge pull request #52 from bjnortier/R15B

    Support for location included in stack traces in Erlang R15
    Adam Lindberg committed Jan 12, 2012
Commits on Jan 6, 2012
  1. @bjnortier
Commits on Nov 15, 2011
  1. Merge pull request #50 from norton/norton-clean-test

    Clean test directory
    Adam Lindberg committed Nov 15, 2011
Commits on Nov 13, 2011
  1. @norton

    Clean test directory

    norton committed Nov 13, 2011
Commits on Nov 10, 2011
  1. Correct 'no_link' option

    Adam Lindberg committed Nov 10, 2011
Commits on Nov 4, 2011
  1. Fix #48

    Adam Lindberg committed Nov 4, 2011
Commits on Oct 21, 2011
  1. Merge pull request #46 from asynchrony/remove_eclipse_settings

    Remove IDE project artifacts
    Adam Lindberg committed Oct 21, 2011
Commits on Oct 20, 2011
  1. @xenolinguist
Commits on Oct 13, 2011
  1. Merge pull request #44 from daha/fully-qualified-funs-for-tests

    Making all the test funs in the foreach in meck_test_/0 fully qualified funs
    Adam Lindberg committed Oct 13, 2011
  2. @daha

    Making all the test funs in the foreach in meck_test_/0 fully qualifi…

    …ed funs,
    
    to let EUnit detect the name of the function it is running.
    
    Suggested by eproxus in eproxus#43 (comment)
    daha committed Oct 13, 2011
  3. Merge pull request #43 from daha/improved-tests-with-asserts-in-helpe…

    …r-functions2
    
    Improved tests: Added an ok in the end of the tests that use a helper function with asserts
    Adam Lindberg committed Oct 13, 2011
  4. Merge pull request #42 from daha/verify-history2-returns-events-in-th…

    …e-correct-order
    
    Verify history/2 returns events in the correct order & fix to flaky history_by_pid_/1 test
    Adam Lindberg committed Oct 13, 2011
Commits on Oct 12, 2011
  1. @daha

    Fix for the test history_by_pid_/1

    The test could sometimes fail if the spawned process had not made its
    call before the assert.
    daha committed Oct 12, 2011
  2. @daha

    Added an ok in the end of the tests that use a helper function with a…

    …sserts.
    
    A failing test, run by foreach, does not show up in the stack trace if
    it fails in it's last statement and that statement is a call to
    another function where the asserts are.  This is typically the case
    for all the called_ tests.  This can be helped by putting an ok in
    the end.
    daha committed Oct 12, 2011
  3. @daha