Reputation
361
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 6
Newest
 Enlightened
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Jun
15
awarded  Enlightened
Jun
15
awarded  Nice Answer
Feb
26
awarded  Caucus
Oct
20
awarded  Editor
Oct
17
awarded  Yearling
Jun
13
awarded  Autobiographer
Jan
9
answered Should I put calculation logic in an Entity or in the Business Layer?
Jan
5
awarded  Supporter
Jan
4
comment I've unit tested my class, now how do I get started with an integration test?
@LewisBassett I'm no Php developer but the xUnit Test patterns(amazon.com/xUnit-Test-Patterns-Refactoring-Code/dp/0131495054) is definitely a good read. Also the articles at misko.hevery.com/code-reviewers-guide are really interesting.
Jan
4
comment I've unit tested my class, now how do I get started with an integration test?
Yeah! I understood you already did the unit tests. Does the MCAPI object keep track of the recipients and is that the cleanup you have to do? If it's the third parties 'problem', there is nothing you can do about in an integration test. If you on the other keep track of the list, you should make sure you're avoiding global data (and singletons) to make sure tests don't influence each other. In a perfect world, cleaning things up when a test starts/finishes, points to a design flaw but in the real world, you can't always avoid it.
Jan
4
answered I've unit tested my class, now how do I get started with an integration test?
Nov
30
awarded  Teacher