[symfony-users] Error 255 in Lime Unit Tests

2009-12-04 Thread Christopher Schnell
Hi all,

I have an error, when running lime unit tests with ./symfony test:unit
One of my testfiles returns status 255 and thus failes.

However, if I run the test only for the file (like ./symfony test:unit 
MyClass), all tests are made successfully and it "look like everything 
went fine".

I can't figure out, what the difference between running the whole suite 
and just executing the single test is.

Does someone know, why this could happen?

Regards,
Christopher.

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Error 255 in Lime Unit Tests

2009-12-04 Thread Thomas Rabaix
run the test from php directly : php path_to_/yourTest.php

On 4 déc. 2009, at 12:21, Christopher Schnell wrote:

> Hi all,
> 
> I have an error, when running lime unit tests with ./symfony test:unit
> One of my testfiles returns status 255 and thus failes.
> 
> However, if I run the test only for the file (like ./symfony test:unit 
> MyClass), all tests are made successfully and it "look like everything 
> went fine".
> 
> I can't figure out, what the difference between running the whole suite 
> and just executing the single test is.
> 
> Does someone know, why this could happen?
> 
> Regards,
> Christopher.
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
> 
> 

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Error 255 in Lime Unit Tests

2009-12-06 Thread Christopher Schnell
Thanks for your hint, Thomas.

There was an fatal error in my test because I wrote $this->myVar... in a 
lime test. I am so used to writing PHPUnit Tests, which are classes, 
that I didn't see it.

But now, I am asking myself, what the symfony commands for lime are for, 
if the output doesn't hint me towards an error in my test. Maybe, I 
should stick with PHPUnit.

Regards,
Christopher.

Thomas Rabaix schrieb:
> run the test from php directly : php path_to_/yourTest.php
>
> On 4 déc. 2009, at 12:21, Christopher Schnell wrote:
>
>   
>> Hi all,
>>
>> I have an error, when running lime unit tests with ./symfony test:unit
>> One of my testfiles returns status 255 and thus failes.
>>
>> However, if I run the test only for the file (like ./symfony test:unit 
>> MyClass), all tests are made successfully and it "look like everything 
>> went fine".
>>
>> I can't figure out, what the difference between running the whole suite 
>> and just executing the single test is.
>>
>> Does someone know, why this could happen?
>>
>> Regards,
>> Christopher.
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups 
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> symfony-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>> 
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>
>   

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Error 255 in Lime Unit Tests

2009-12-07 Thread Thomas Rabaix
The lime2 version will tell you why an error occurs, for now every
time you see dubious just run your test directly with php yourTest.php


On Mon, Dec 7, 2009 at 8:47 AM, Christopher Schnell  wrote:
> Thanks for your hint, Thomas.
>
> There was an fatal error in my test because I wrote $this->myVar... in a
> lime test. I am so used to writing PHPUnit Tests, which are classes,
> that I didn't see it.
>
> But now, I am asking myself, what the symfony commands for lime are for,
> if the output doesn't hint me towards an error in my test. Maybe, I
> should stick with PHPUnit.
>
> Regards,
> Christopher.
>
> Thomas Rabaix schrieb:
>> run the test from php directly : php path_to_/yourTest.php
>>
>> On 4 déc. 2009, at 12:21, Christopher Schnell wrote:
>>
>>
>>> Hi all,
>>>
>>> I have an error, when running lime unit tests with ./symfony test:unit
>>> One of my testfiles returns status 255 and thus failes.
>>>
>>> However, if I run the test only for the file (like ./symfony test:unit
>>> MyClass), all tests are made successfully and it "look like everything
>>> went fine".
>>>
>>> I can't figure out, what the difference between running the whole suite
>>> and just executing the single test is.
>>>
>>> Does someone know, why this could happen?
>>>
>>> Regards,
>>> Christopher.
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups 
>>> "symfony users" group.
>>> To post to this group, send email to symfony-us...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> symfony-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/symfony-users?hl=en.
>>>
>>>
>>>
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups 
>> "symfony users" group.
>> To post to this group, send email to symfony-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> symfony-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>>
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/symfony-users?hl=en.
>
>
>



-- 
Thomas Rabaix
http://rabaix.net

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.