Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8421

Re: simpletest vs phpunit vs ...

From Chris Riesbeck <Chris.Riesbeck@gmail.com>
Newsgroups comp.lang.php
Subject Re: simpletest vs phpunit vs ...
Date 2013-02-21 14:08 -0600
Message-ID <aond6kFphqiU1@mid.individual.net> (permalink)
References <aogq26FaaoiU1@mid.individual.net> <kg5sft$tur$1@news.xmission.com>

Show all headers | View raw


On 2/21/2013 1:27 PM, Richard wrote:
> [Please do not mail me a copy of your followup]
>
> Simon <bad@example.com> spake the secret code
> <aogq26FaaoiU1@mid.individual.net> thusly:
>
>> Shall I bite the bullet now and move to phpunit or will simpletest still
>> be good enough for a long, long time?
>
> I've been using phpunit.  What I find lacking is a good mocking
> library, so I end up writing my own state-based fake objects that
> derive from my interface.  I'd really like to find something that is
> as expressive as jMock is for java mock objects, but so far I haven't
> found anything that seems to work that way.
>

I'm curious which specific aspects of jMock you most wanted that weren't 
in PHPunit's Mock objects

http://www.phpunit.de/manual/3.0/en/mock-objects.html

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

simpletest vs phpunit vs ... Simon <bad@example.com> - 2013-02-19 10:05 +0200
  Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-19 08:22 -0500
    Re: simpletest vs phpunit vs ... Goran <goran@nospam.com> - 2013-02-21 11:09 +0100
      Re: simpletest vs phpunit vs ... Scott Johnson <noonehome@chalupasworld.com> - 2013-02-21 05:40 -0800
        Re: simpletest vs phpunit vs ... Goran <goran@nospam.com> - 2013-02-22 09:05 +0100
          Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 08:52 -0500
            Re: simpletest vs phpunit vs ... Goran <goran@nospam.com> - 2013-02-22 16:03 +0100
              Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 10:14 -0500
  Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-21 19:27 +0000
    Re: simpletest vs phpunit vs ... Chris Riesbeck <Chris.Riesbeck@gmail.com> - 2013-02-21 14:08 -0600
      Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-21 21:53 +0000
        Re: simpletest vs phpunit vs ... The Natural Philosopher <tnp@invalid.invalid> - 2013-02-21 22:20 +0000
          Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 00:51 +0000
            Re: simpletest vs phpunit vs ... "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-22 11:29 +0100
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:21 +0000
            Re: simpletest vs phpunit vs ... Tim Streater <timstreater@greenbee.net> - 2013-02-22 10:49 +0000
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:23 +0000
                Re: simpletest vs phpunit vs ... Anders Wegge Keller <wegge@wegge.dk> - 2013-02-22 21:41 +0100
                Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-23 00:39 +0000
                Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 19:51 -0500
                Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-24 23:49 +0000
                Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-24 20:17 -0500
                Re: simpletest vs phpunit vs ... Anders Wegge Keller <wegge@wegge.dk> - 2013-02-23 07:51 +0100
                Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-25 00:03 +0000
                Re: simpletest vs phpunit vs ... Anders Wegge Keller <wegge@wegge.dk> - 2013-02-25 19:28 +0100
            Re: simpletest vs phpunit vs ... "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-22 12:24 +0100
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:26 +0000
            Re: simpletest vs phpunit vs ... Simon <bad@example.com> - 2013-02-22 14:06 +0200
            Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 08:57 -0500
              Re: simpletest vs phpunit vs ... bill <william@TechServSys.com> - 2013-02-22 10:55 -0500
              Re: simpletest vs phpunit vs ... legalize+jeeves@mail.xmission.com (Richard) - 2013-02-22 20:27 +0000
                Re: simpletest vs phpunit vs ... Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-22 16:57 -0500
  Re: simpletest vs phpunit vs ... Simon <bad@example.com> - 2013-02-22 14:15 +0200
  Re: simpletest vs phpunit vs ... Martin Musatov <marty.musatov@gmail.com> - 2013-02-22 23:38 -0800

csiph-web