Permalink
Commits on Jul 30, 2013
  1. BUGFIX wrap returned values

    samuelrivas committed Jul 30, 2013
    So that we don't strip any ok or error tag from the value returned by the call
    handler function
  2. TEST check that we can return tagged values from the call handler

    samuelrivas committed Jul 30, 2013
    We can't ... reported by stwind in #20
Commits on Jul 29, 2013
Commits on Jul 20, 2013
  1. RESTRUCT use sel_string to save some space.

    samuelrivas committed Jul 20, 2013
    Remember that this line is actually a bugfix contributed by stwind
  2. FUNCT use samerlib 0.6.0

    samuelrivas committed Jul 20, 2013
  3. TEST Add tests to verify we can start two concurrent mokas

    samuelrivas committed Jul 20, 2013
    There was a bug that prevented this
Commits on Jul 19, 2013
Commits on Jul 3, 2013
  1. TEST adapt moka_history_test to the new test history API

    samuelrivas committed Jul 3, 2013
    It is not covering exceptions yet
  2. FUNCT centralise history formatting in moka_history

    samuelrivas committed Jul 3, 2013
    Before this other modules need to know how to wrap exceptions and return
    values.
  3. FUNCT better types for the history log

    samuelrivas committed Jul 3, 2013
    This is backwards incompatible, but makes it possible to tell normal returns
    from exceptions safely
Commits on Jun 30, 2013
  1. DOC typos and indentation

    samuelrivas committed Jun 30, 2013
  2. DOC update the README

    samuelrivas committed Jun 30, 2013
    Add the exception handling acceptance test
  3. TEST scripts to run dialyzer depending on the erlang release

    samuelrivas committed Jun 30, 2013
     * We don't want to run it for R14 (in the CI server) as it is too slow
     * We want to control the options per-release as it may report unwanted warnings
       or support different tests depending on the erlang release
    
    TEST run dialyzer for R14
    
    It is very slow, but anyway ...
    
    DOC Add some comments
    
    TEST don't run dialyzer for R14
  4. TEST run the tests before the static analysis

    samuelrivas committed Jun 30, 2013
    Tests fail more often than the static checks so this order is more likely to
    provide faster feedback
  5. FUNCT some shitty specs for call history

    samuelrivas committed Jun 12, 2013
    We definitely need an ADT for this
  6. FUNCT don't leak the internal exception wrapping in history entries

    samuelrivas committed Jun 12, 2013
    A better solution would be to create a proper ADT for history management
  7. FUNCT support exceptions in moked functions

    samuelrivas committed Jun 11, 2013
    We transparently (almost, there are traces in the stack trace) transfer the
    exception from the gen_server to the process calling
  8. TEST Acceptance test for "exceptional" mokas

    samuelrivas committed Jun 11, 2013
    We simply rethrow any exception as it was thrown
Commits on Jun 13, 2013
Commits on Jun 11, 2013
  1. DOC update a comment

    samuelrivas committed Jun 11, 2013
  2. FUNCT update samerlib

    samuelrivas committed Jun 10, 2013
    Not needed but we want to keep dependencies up to date
  3. TEST raise the timeout for the fsm test

    samuelrivas committed May 19, 2013
    It seems now that cover is preserved it is more likely to take more than 10
    seconds in an i5.
    
    I need to investigate more but it can be due to excessive bumping of the cover
    db or because is harder to reload cover instrumented code ...