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! |
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 |
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... > > > -- > Marcus Denker -- http://marcusdenker.de > > > -- Best regards, Igor Stasenko AKA sig. expectedfails.1.cs (926 bytes) Download Attachment |
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 |
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 |
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 |
Free forum by Nabble | Edit this page |