Re: DBIT prototype - feedback wanted

"H.Merijn Brand" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Mon, 10 Feb 2014 21:26:26 +0000, Tim Bunce <[email protected]>
wrote:

> On Mon, Feb 10, 2014 at 03:21:02PM +0100, H.Merijn Brand wrote:
> > 
> > DBI-Test-git/sandbox/tim 517 > perl tumbler.pl
> > String found where operator expected at tumbler.pl line 269, near "croak "Test variant setting key '$dst_key' already exists""
> 
> Fixed. (I was using an older perl that didn't trip up on that.)

5.18.2 is now my "working perl" on my laptop.
Once I do not encounter new(ish) problems, I'll also install it on my
$work-PC

> > > What's are the priorities now?
> > 
> > I think riba and I would agree that there should be a template to copy
> > for *any* DBD as a strating-kit
> > 
> > USAGE:
> >   $ cd /your/DBD-xxx
> >   $ perl -MDBI-Test -we'install_templates()'
> >   $ perl dbi-test-tumbler.pl
> >   $ prove -j4 -sr out
> 
> I think we're not ready for that yet. There are many issues (as noted in
> the README) that we should work on to flesh out the prototype first.
> 
> Also it looks like you're proposing that DBI-Test 'installs templates'
> into a DBD source tree. That doesn't seem like important functionality
> to work on just yet. The primary goal of DBIT is to run a set of common
> tests against many drivers.

That is what my goal is too. But once that works, I can start writing
new tests. That is exactly what I did with the previous state.

> Extra driver-specific tests will be a nice feature but it seems
> conterproductive to add that till we're more sure about the various
> interfaces those external tests will rely on.

IMHO that is up to the driver authors. Shit, I'm one of them :/

> > Maybe I am too narrow-minded, but I like to work from the results
> > backward. I find it hard to comment on anything that I do not know
> > how to use.
> 
> Please try running "perl tumbler.pl && prove -r out" with the latest
> version, then work from the results (the out/ dir) backwards.

When time permits, will do.

Where do I run tumbler? in the DBD ?

> I hope how to use it is reasonably clear from the README but please ping
> me on irc if you hit any problems.

I'll start with the README

> Tim.

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.