Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  documentation of test_server:Case/1

vladdu
Posted: Mon Feb 08, 2010 1:38 pm Reply with quote
User Joined: 28 Feb 2005 Posts: 397 Location: Gothenburg, Sweden
Hi,

I think there are some errors in the docs for test_server:Case/1. See
comments below, marked with <<<---

Case(doc) -> [Decription] <<<--- spelling
Case(suite) -> [] | TestSpec | {skip, Comment} <<<--- see below,
should be 'spec'?
Case(Config) -> {skip, Comment} | {comment, Comment} | Ok

The specification clause (argument spec) shall return an empty list,
the test specification for the test case or {skip,Comment}. The syntax
of a test specification is described in the Test Server User's Guide.

The execution clause (argument Config) is only called if the
specification clause returns an empty list. <<<--- or if spec
returns a TestSpec, right?

regards,
Vlad

________________________________________________________________
erlang-bugs (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-bugs-unsubscribe@erlang.org

Post received from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum