Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor meck into smaller functional modules #82

Merged
merged 11 commits into from
Nov 4, 2012
Merged

Refactor meck into smaller functional modules #82

merged 11 commits into from
Nov 4, 2012

Commits on Oct 24, 2012

  1. Add test for meck:expect on file module

    beapirate authored and horkhe committed Oct 24, 2012
    Configuration menu
    Copy the full SHA
    1af0aae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6000bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23a79ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6be0ba1 View commit details
    Browse the repository at this point in the history
  5. Change from generator to real test

    eproxus authored and horkhe committed Oct 24, 2012
    Configuration menu
    Copy the full SHA
    3d6fcdf View commit details
    Browse the repository at this point in the history
  6. Refactor the solution

    - get rid of the process dictionary;
    - make tests run on any OS;
    horkhe committed Oct 24, 2012
    Configuration menu
    Copy the full SHA
    5e63c2f View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2012

  1. Code split up draft

    Original meck.erl was split into:
    - meck - facade for entire library;
    - meck_code_gen - code generation of mocked modules;
    - meck_proc - satelite gen_server for every mocked module to
      maintain state (list of mocked functions, call history);
    - meck_history - module that contains history digging functions;
    - meck_util - misc stuff.
    
    Function type specs were mostly put in place.
    
    All unit tests pass.
    
    Dialyzer issues only 3 sane warnings see
    ./dialyser.ingnore-warnings for details.
    Maxim Vladimirsky authored and horkhe committed Oct 25, 2012
    Configuration menu
    Copy the full SHA
    26ade04 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2012

  1. Introduce meck_expect and more:

    - meck_expect module was introduced to contain
      expectation construction and matching logic;
    - history related types were moved to meck_history;
    Maxim Vladimirsky committed Oct 26, 2012
    Configuration menu
    Copy the full SHA
    33fca25 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2012

  1. Address some code inspection comments:

    - meck_mod was renamed to meck_code;
    - cyclic dependency between meck and meck_code_gen
      was removed.
    horkhe committed Oct 28, 2012
    Configuration menu
    Copy the full SHA
    ef2b8ca View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2012

  1. Configuration menu
    Copy the full SHA
    904578f View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2012

  1. Configuration menu
    Copy the full SHA
    bff3fbd View commit details
    Browse the repository at this point in the history