Re: Test framework for C tests - svn_test__sandbox_create()

2011-05-09 Thread Julian Foad
On Thu, 2011-05-05 at 14:40 -0400, Greg Stein wrote: > On Thu, May 5, 2011 at 11:20, Julian Foad wrote: > > I keep coming across simple bugs in untested APIs, and sometimes I try > > to write simple unit tests for those APIs. To make this easier, I have > > started to create a "svn_test__sandbox"

Re: Test framework for C tests - svn_test__sandbox_create()

2011-05-05 Thread Greg Stein
On Thu, May 5, 2011 at 11:20, Julian Foad wrote: > I keep coming across simple bugs in untested APIs, and sometimes I try > to write simple unit tests for those APIs.  To make this easier, I have > started to create a "svn_test__sandbox" class, with which a C test can > very easily set up a reposi

Test framework for C tests - svn_test__sandbox_create()

2011-05-05 Thread Julian Foad
I keep coming across simple bugs in untested APIs, and sometimes I try to write simple unit tests for those APIs. To make this easier, I have started to create a "svn_test__sandbox" class, with which a C test can very easily set up a repository and a working copy, like the Python tests do. Then i