You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Nathan Maves <Na...@Sun.COM> on 2005/08/18 22:19:18 UTC
A shot in the dark about unit testing.
We have been using DBUnit for a while now, but seeing as it is as
close to a dead project we are looking for something comparable.
What is everyone else using?
If you are using DBUnit and know how to use BLOB's with it you can be
my new hero.
Nathan
Re: A shot in the dark about unit testing.
Posted by Oleg Shpak <ol...@rap-x.com>.
Just use a file name,
<issue_attachments id="1" issue_id="100" description="Description 1"
filename="file1" mimetype="mime/type1" size="115"
data="data/files/1.gif"/>
where
`data` column is of BLOB type
and "data/files/1.gif" is a path relative to process's current path, not
to the xml file.
Oleg
Nathan Maves wrote:
> We have been using DBUnit for a while now, but seeing as it is as
> close to a dead project we are looking for something comparable.
>
> What is everyone else using?
>
> If you are using DBUnit and know how to use BLOB's with it you can be
> my new hero.
>
> Nathan
Re: A shot in the dark about unit testing.
Posted by Mark Bennett <ma...@gmail.com>.
protected IDataSet getDataSet() throws Exception {
return new XlsDataSet(new FileInputStream(dataSetLocation));
}
I type the records I want in a spreadsheet. Each worksheet represents a
table.
Mark
On 8/18/05, Nathan Maves <Na...@sun.com> wrote:
>
> What do you mean support for spreadsheets?
> Nathan
> On Aug 18, 2005, at 2:27 PM, Mark Bennett wrote:
>
> I've been using it. It's not the coolest thing in the world but I like
> its support for spreadsheets. I suppose with Java 5 coming out that there
> might be some alternatives coming about with nice features. Don't know of
> any though.
> Mark
>
> On 8/18/05, Nathan Maves <Na...@sun.com> wrote:
> >
> > We have been using DBUnit for a while now, but seeing as it is as
> > close to a dead project we are looking for something comparable.
> >
> > What is everyone else using?
> >
> > If you are using DBUnit and know how to use BLOB's with it you can be
> > my new hero.
> >
> > Nathan
> >
>
>
>
Re: A shot in the dark about unit testing.
Posted by Nathan Maves <Na...@Sun.COM>.
What do you mean support for spreadsheets?
Nathan
On Aug 18, 2005, at 2:27 PM, Mark Bennett wrote:
> I've been using it. It's not the coolest thing in the world but I
> like its support for spreadsheets. I suppose with Java 5 coming
> out that there might be some alternatives coming about with nice
> features. Don't know of any though.
>
> Mark
>
>
> On 8/18/05, Nathan Maves <Na...@sun.com> wrote:
> We have been using DBUnit for a while now, but seeing as it is as
> close to a dead project we are looking for something comparable.
>
> What is everyone else using?
>
> If you are using DBUnit and know how to use BLOB's with it you can be
> my new hero.
>
> Nathan
>
Re: A shot in the dark about unit testing.
Posted by Mark Bennett <ma...@gmail.com>.
I've been using it. It's not the coolest thing in the world but I like its
support for spreadsheets. I suppose with Java 5 coming out that there might
be some alternatives coming about with nice features. Don't know of any
though.
Mark
On 8/18/05, Nathan Maves <Na...@sun.com> wrote:
>
> We have been using DBUnit for a while now, but seeing as it is as
> close to a dead project we are looking for something comparable.
>
> What is everyone else using?
>
> If you are using DBUnit and know how to use BLOB's with it you can be
> my new hero.
>
> Nathan
>