is there some way to mark TODO tests

186 views
Skip to first unread message

opensas opensas

unread,
Oct 22, 2012, 12:04:52 PM10/22/12
to specs2...@googlegroups.com
that would be tests that haven't been implemented yet

I'd like them to appear as TODO (not implemented yet) not as failing tests

I don't know if anything like that is supported at all, or if there's some way to emulate it...

BTW, anybody out there think it might be a good idea?

opensas opensas

unread,
Oct 22, 2012, 12:14:58 PM10/22/12
to specs2...@googlegroups.com
it would also be useful for those following tdd practice, to spot that tests that fail, not because we broke something, but because they still need to be implemented.

etorreborre

unread,
Oct 22, 2012, 5:07:57 PM10/22/12
to specs2...@googlegroups.com
You can use "todo" in your examples:

  "we need to do this" >> todo


Eric.

Sebastian Scarano

unread,
Oct 22, 2012, 8:58:20 PM10/22/12
to specs2...@googlegroups.com
exactly what I was looking for

thanks a lot eric!

(and thanks for not telling me to RTFM...)

etorreborre

unread,
Oct 22, 2012, 10:17:30 PM10/22/12
to specs2...@googlegroups.com
> (and thanks for not telling me to RTFM...)

I can't blame anyone for not RTFM, it's big! One thing I'd like to add one day is a search function (well there are so many things I'd like to add but I don't have the bandwidth for that now...).

Daniel Sobral

unread,
Oct 23, 2012, 7:34:35 AM10/23/12
to specs2...@googlegroups.com
On Tue, Oct 23, 2012 at 12:17 AM, etorreborre <etorr...@gmail.com> wrote:
>> (and thanks for not telling me to RTFM...)
>
> I can't blame anyone for not RTFM, it's big! One thing I'd like to add one
> day is a search function (well there are so many things I'd like to add but
> I don't have the bandwidth for that now...).

By the way, that tabs thingy you are using in some places such as
matchers, I really appreciate it.

>
>
> On Tuesday, October 23, 2012 11:58:21 AM UTC+11, opensas opensas wrote:
>>
>> exactly what I was looking for
>>
>> thanks a lot eric!
>>
>> (and thanks for not telling me to RTFM...)
>>
>>
>> On Mon, Oct 22, 2012 at 6:07 PM, etorreborre <etorr...@gmail.com> wrote:
>>>
>>> You can use "todo" in your examples:
>>>
>>> "we need to do this" >> todo
>>>
>>> This is described here:
>>> http://etorreborre.github.com/specs2/guide/org.specs2.guide.Matchers.html#Standard+results
>>>
>>> Eric.
>>>
>>> On Tuesday, October 23, 2012 3:14:58 AM UTC+11, opensas opensas wrote:
>>>>
>>>> it would also be useful for those following tdd practice, to spot that
>>>> tests that fail, not because we broke something, but because they still need
>>>> to be implemented.
>>>>
>>>> On Monday, October 22, 2012 1:04:52 PM UTC-3, opensas opensas wrote:
>>>>>
>>>>> that would be tests that haven't been implemented yet
>>>>>
>>>>> I'd like them to appear as TODO (not implemented yet) not as failing
>>>>> tests
>>>>>
>>>>> I don't know if anything like that is supported at all, or if there's
>>>>> some way to emulate it...
>>>>>
>>>>> BTW, anybody out there think it might be a good idea?
>>
>>
>



--
Daniel C. Sobral

I travel to the future all the time.
Reply all
Reply to author
Forward
0 new messages