|
From: Ali G. <co...@gm...> - 2010-09-13 08:06:28
|
Thank you, Nicolas. I didn't realize my method names needed to begin with
'test'
On Sun, Sep 12, 2010 at 11:08 PM, Nicolas Terray
<nic...@gm...>wrote:
> On Mon, Sep 13, 2010 at 2:06 AM, Ali Gangji <co...@gm...> wrote:
> > *Test cases run: 0/1*, Passes: 0, Failures: 0, Exceptions: 0
> >
> > It says 0/1 run.
> >
> > I have stripped down my test case to this:
> >
> > class FrontTest extends WebTestCase {
> > function home_test() {
> >
> > }
> > }
> >
> > still it does not run
> >
>
>
> Yes it does. It does nothing, but it runs.
>
> Just rename your method as "test_home"(*) and put some assertions inside.
>
> (*) Excerpt from doc: When a test case runs, it will search for any
> method that starts with the string "test" and execute that method. If
> the method starts "test", it's a test.
>
> Yours,
> Nicolas
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Simpletest-support mailing list
> Sim...@li...
> https://lists.sourceforge.net/lists/listinfo/simpletest-support
>
--
Ali Gangji
|