TestRunner and <expectedFailure>

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

TestRunner and <expectedFailure>

Alex Schenkman
Hi List,

How can I use <expectedFailure> togehter with the TestRunner.
Testrunner shows the number of expectedFailures, but it always zero, even when I decorate with the Pragma.

testShouldFail
<expectedFailure>
self fail.

Thanks in advance!

Reply | Threaded
Open this post in threaded view
|

Re: TestRunner and <expectedFailure>

Marcus Denker-4

On Jul 28, 2011, at 3:35 PM, Alex Schenkman wrote:

> Hi List,
>
> How can I use <expectedFailure> togehter with the TestRunner.
> Testrunner shows the number of expectedFailures, but it always zero, even when I decorate with the Pragma.
>
> testShouldFail
> <expectedFailure>
> self fail.
>

We had to disable the pragma because it lead to making running all tests of the image so slow
that it took hours to run.

We should look at this again...

for now, you can use the old style of adding a method that returns an array of the selectors...


--
Marcus Denker -- http://marcusdenker.de


Reply | Threaded
Open this post in threaded view
|

Re: TestRunner and <expectedFailure>

Igor Stasenko
On 28 July 2011 15:44, Marcus Denker <[hidden email]> wrote:

>
> On Jul 28, 2011, at 3:35 PM, Alex Schenkman wrote:
>
>> Hi List,
>>
>> How can I use <expectedFailure> togehter with the TestRunner.
>> Testrunner shows the number of expectedFailures, but it always zero, even when I decorate with the Pragma.
>>
>> testShouldFail
>>       <expectedFailure>
>>       self fail.
>>
>
> We had to disable the pragma because it lead to making running all tests of the image so slow
> that it took hours to run.
>
> We should look at this again...
>
> for now, you can use the old style of adding a method that returns an array of the selectors...
>
can you bench it without and with this changeset?


>
> --
> Marcus Denker -- http://marcusdenker.de
>
>
>



--
Best regards,
Igor Stasenko AKA sig.

expectedfails.1.cs (926 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: TestRunner and <expectedFailure>

Marcus Denker-4
In reply to this post by Marcus Denker-4

On Jul 28, 2011, at 4:45 PM, Igor Stasenko wrote:

> On 28 July 2011 15:44, Marcus Denker <[hidden email]> wrote:
>>
>> On Jul 28, 2011, at 3:35 PM, Alex Schenkman wrote:
>>
>>> Hi List,
>>>
>>> How can I use <expectedFailure> togehter with the TestRunner.
>>> Testrunner shows the number of expectedFailures, but it always zero, even when I decorate with the Pragma.
>>>
>>> testShouldFail
>>>       <expectedFailure>
>>>       self fail.
>>>
>>
>> We had to disable the pragma because it lead to making running all tests of the image so slow
>> that it took hours to run.
>>
>> We should look at this again...
>>
>> for now, you can use the old style of adding a method that returns an array of the selectors...
>>
> can you bench it without and with this changeset?
>
>

Looks good! Will add a tracker entry.


--
Marcus Denker -- http://marcusdenker.de


Reply | Threaded
Open this post in threaded view
|

Re: TestRunner and <expectedFailure>

Lukas Renggli
Igor, why do you search up to Object? It should be enough to search to
TestCase only.

Lukas

On 29 July 2011 09:34, Marcus Denker <[hidden email]> wrote:

>
> On Jul 28, 2011, at 4:45 PM, Igor Stasenko wrote:
>
>> On 28 July 2011 15:44, Marcus Denker <[hidden email]> wrote:
>>>
>>> On Jul 28, 2011, at 3:35 PM, Alex Schenkman wrote:
>>>
>>>> Hi List,
>>>>
>>>> How can I use <expectedFailure> togehter with the TestRunner.
>>>> Testrunner shows the number of expectedFailures, but it always zero, even when I decorate with the Pragma.
>>>>
>>>> testShouldFail
>>>>       <expectedFailure>
>>>>       self fail.
>>>>
>>>
>>> We had to disable the pragma because it lead to making running all tests of the image so slow
>>> that it took hours to run.
>>>
>>> We should look at this again...
>>>
>>> for now, you can use the old style of adding a method that returns an array of the selectors...
>>>
>> can you bench it without and with this changeset?
>>
>>
>
> Looks good! Will add a tracker entry.
>
>
> --
> Marcus Denker -- http://marcusdenker.de
>
>
>



--
Lukas Renggli
www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: TestRunner and <expectedFailure>

Marcus Denker-4
In reply to this post by Marcus Denker-4

On Jul 29, 2011, at 9:40 AM, Lukas Renggli wrote:

> Igor, why do you search up to Object? It should be enough to search to
> TestCase only.
>
I added a note to the tracker and will change it when integrating.

> Lukas
>
> On 29 July 2011 09:34, Marcus Denker <[hidden email]> wrote:
>>
>> On Jul 28, 2011, at 4:45 PM, Igor Stasenko wrote:
>>
>>> On 28 July 2011 15:44, Marcus Denker <[hidden email]> wrote:
>>>>
>>>> On Jul 28, 2011, at 3:35 PM, Alex Schenkman wrote:
>>>>
>>>>> Hi List,
>>>>>
>>>>> How can I use <expectedFailure> togehter with the TestRunner.
>>>>> Testrunner shows the number of expectedFailures, but it always zero, even when I decorate with the Pragma.
>>>>>
>>>>> testShouldFail
>>>>>       <expectedFailure>
>>>>>       self fail.
>>>>>
>>>>
>>>> We had to disable the pragma because it lead to making running all tests of the image so slow
>>>> that it took hours to run.
>>>>
>>>> We should look at this again...
>>>>
>>>> for now, you can use the old style of adding a method that returns an array of the selectors...
>>>>
>>> can you bench it without and with this changeset?
>>>
>>>
>>
>> Looks good! Will add a tracker entry.
>>
>>
>> --
>> Marcus Denker -- http://marcusdenker.de
>>
>>
>>
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>

--
Marcus Denker -- http://marcusdenker.de