erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Return and test friendly error messages on registration failure #82

Closed starbelly closed 5 years ago

starbelly commented 5 years ago

This PR introduces a mock hex api web server for "integration" testing the rebar3 hex commands. Calls that would require user input from stdin are mecked. The hex api mock has db service (gen_server with ets) to go along with it to faciliate simulating an already registered user.

More PRs will follow building upon this framework to support resolution of existing and future issues.

starbelly commented 5 years ago

@tsloughter Oi, this is ready.