stubs   277

« earlier    

Mocks Aren't Stubs
The term 'Mock Objects' has become a popular one to describe special case objects that mimic real objects for testing. Most language environments now have frameworks that make it easy to create mock objects. What's often not realized, however, is that mock objects are but one form of special case test object, one that enables a different style of testing. In this article I'll explain how mock objects work, how they encourage testing based on behavior verification, and how the community around them uses them to develop a different style of testing.
tdd  mocks  stubs 
march 2019 by vegarev
Test Doubles — Fakes, Mocks and Stubs. – Pragmatists
In automated testing it is common to use objects that look and behave like their production equivalents, but are actually simplified. This reduces complexity, allows to verify code independently from the rest of the system and sometimes it is even necessary to execute self validating tests at all. A Test Double is a generic term used for these objects.
testing  tdd  mocks  fakes  stubs 
march 2019 by vegarev

« earlier    

related tags

$0  3  agile  analogy  and  angular  api-testing  api  applepay  apr16  are  article  authentication  automation  awesome  aws  bdd  behat  best-practices  bestpractices  blog  bots  boundaries  c#  cats  chrisdannen  cocoa  code  codeception  content  contentgaps  contentgeneration  coverage  date  datetime  debugging  deductions  delicious  dependency-injection  development  devise  documentation  dotnet  doubles  dummies  dummy  elixir  examples  factory_girl  fake  fakes  fastcompany  fixtures  fowler  framework  fun  gems  generator  github  glossary  goos  government  http  ifttt  ios  iphone  java  javascript  js  json  junit  library  lightbulb  mapzen  mar18  martin-fowler  martinfowler  media–minus  microservices  mocha  mock  mocking  mocks  node.js  node  oauth  objective-c  objectivec  of  official  omniauth  on  online  pay  paycheck  payroll  php  phpspec  pht130  pocket  point  posting  production.  programming  rails  reference  rest  rspec  ruby  rubymotion  rubyonrails  sandbox  server  serverside  service-oriented  service  sinon.js  sinon  sinonjs  so  soa  social  software  softwaredevelopement  specs  spies  spy  stackoverflow  structureddata  stub  stubarticles  stubbing  swagger  swift  talk  taxonomy  tdd  teri  term  terminology  test-driven-development  test  testdrivendevelopement  testing  tests  third-party  thoughtbot  time  timecop  timers  tools  tutorial  tutorials  u.s.  unit-testing  unit.testing  unit  unittest  unittesting  unittests  unread  vcr  video  view  vizicities  vocabulary  vs  wcf  web  webmock  wikipedia  workers  wsj 

Copy this bookmark:



description:


tags: