You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kouhei Sutou <ko...@cozmixng.org> on 2005/09/04 08:38:51 UTC

Writing test cases for bindings

Hi,

I'm writing more strict and complete test cases for the Ruby
bindings. But the task is difficult. Because there are some
functions which have no test case. (svn_wc_get_status_editor2(),
svn_wc_crawl_revisions2(), ...)

Can I keep them having no test cases?


Regards,
--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Writing test cases for bindings

Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,

In <85...@newton.ch.collab.net>
  "Re: Writing test cases for bindings" on 16 Sep 2005 17:42:46 -0500,
  kfogel@collab.net wrote:

> > I'm writing more strict and complete test cases for the Ruby
> > bindings. But the task is difficult. Because there are some
> > functions which have no test case. (svn_wc_get_status_editor2(),
> > svn_wc_crawl_revisions2(), ...)
> > 
> > Can I keep them having no test cases?
> 
> You mean, we don't currently have API tests for those functions
> anyway?

Yes. I can't find those functions in subversion/tests/.

>          IMHO, you don't have to implement bindings tests where
> there's not even a core C API test.  (Of course, if it's easy to do so
> and you have time, you should always feel free to write a test; no one
> would ever object to that.)

I see. Thank you for showing me your opinion.


Thanks,
--
kou

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Writing test cases for bindings

Posted by kf...@collab.net.
Kouhei Sutou <ko...@cozmixng.org> writes:
> I'm writing more strict and complete test cases for the Ruby
> bindings. But the task is difficult. Because there are some
> functions which have no test case. (svn_wc_get_status_editor2(),
> svn_wc_crawl_revisions2(), ...)
> 
> Can I keep them having no test cases?

You mean, we don't currently have API tests for those functions
anyway?  IMHO, you don't have to implement bindings tests where
there's not even a core C API test.  (Of course, if it's easy to do so
and you have time, you should always feel free to write a test; no one
would ever object to that.)

-Karl

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org