I assume the mock object does not exercise any real network code or primitives. On Wed, Mar 2, 2016 at 2:43 PM, Norbert Hartl <norbert@hartl.name> wrote:
Am 02.03.2016 um 17:27 schrieb Chris Muller <asqueaker@gmail.com>:
A mock network will never test as thoroughly as locahost network..
Why? Please elaborate!
Norbert
On Wed, Mar 2, 2016 at 6:32 AM, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
HI, there is one thing in Ruby (on Rails) that I really like and it is a option to mock network. This means that when you run a test your network requests are handled by a mock object and you can tell it that for this URI it should give you this response. This is helpful if you donât want to rely on a network availability or test certain corner cases.
Is there anything like this in Pharo?
Uko