I'm not aware of any generic, publicly available, database library for
Robot Framework.
> I'm asking because it would be nice to be able to verify content in a
> database from Robot Framework or even prepare a database for running
> tests.
Having such a library would be awesome. Are there enough people who
would be interested about this so that it would make sense to start a
separate project for it? Unfortunately the core development team
doesn't have resources to take responsibility of it but we definitely
can help.
One possible way to get started would be modifying Gojko Adzic's DbFit
[1] so that it supports RF. Robot's library API is pretty simple but
still flexible and this could actually be relative simple task. AFAIK
DbFit doesn't work with Python, though, but it ought to work with
Jython.
[1] http://gojko.net/fitnesse/dbfit/
Cheers,
.peke
Very cool! Using SQLAlchemy is a good choice. It is a popular Python
module and it will very likely be supported on Jython sooner than
later:
http://wiki.python.org/jython/SqlAlchemyOnJython
> I am thinking about giving the code to the project but have to ask for
> permission and test on different systems.
I think DBLibrary should be a separate project similarly as e.g.
SeleniumLibrary and SwingLibrary. Interested to start such a project?
Anyone else here interested to help with it?
Cheers,
.peke
Awesome! I hope everyone who has been looking for DBLibrary for Robot
Framework gives this a shot and hopefully you also get some help
developing the library further. Feel free to use this list and
robotframework-devel for all discussion and questions related the new
library.
Cheers,
.peke