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

Rewrites the Mocking section: introduces Mox #2338

Closed
wants to merge 2 commits into from
Closed

Rewrites the Mocking section: introduces Mox #2338

wants to merge 2 commits into from

Commits on Jun 20, 2020

  1. Rewrites the Mocking section: introduces Mox

    There seems to be a fair amount of confusion surrounding mocks in Elixir. You CAN use mocks in Elixir, and although there are some considerations for asynchronous execution, the mechanics and preparation are not vastly different than other languages, so I wanted to set the record straight and provide a walk-through that explains a bit of the philosophy so we can understand and use the Mox library.
    fireproofsocks committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    b3f6490 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

  1. Implements suggestions: removes link to Platformatec, adds empty line…

    … before and after code blocks, corrects mention of 'expect' as a function (it is not a macro), combs through for better readability
    fireproofsocks committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    6be32c3 View commit details
    Browse the repository at this point in the history