-
Recent Posts
Archives
Categories
Tags
adminer alter table andromeda apgdiff autodoc bottle cherrypy concurrency control constraints create table database tools dbdeploy diva django emacs flask git jinja liquibase mako pagila pesto pgfoundry php post facto postgresql psycopg pyramid python pyyaml sqlalchemy test driven development testing tox ttm twisted unittest user interfaces version control versioning web.py web2py webob werkzeug windowsBlogroll
Meta
Tag Archives: testing
Testing Python and PostgreSQL on Windows, Part 6
Alliterative locales, languages, collations. A tox on all your houses (test combinations). The last item to fix in the Pyrseas unit tests so that they run on Windows is related to the PostgreSQL 9.1 COLLATION feature. When creating the tests, … Continue reading
Posted in PostgreSQL, Python
Tagged collation, postgresql, python, testing, tox, windows
Leave a comment
Testing Python and PostgreSQL on Windows, Part 5
I’ve got the Perl on Windows blues … Aside from PL/pgSQL, the base distribution of PostgreSQL supports three procedural languages: Perl, Python and Tcl. When creating Pyrseas unit tests for languages (before they became EXTENSIONs), PL/Perl seemed like the “natural” … Continue reading
Posted in PostgreSQL, Python
Tagged dependency checking, perl, postgresql, python, testing, windows
7 Comments
Testing Python and PostgreSQL on Windows, Part 4
At the end of Part 2, I suggested those who were anxious to start testing could try python tests\dbobject\test_schema.py right after installing psycopg2, and implied everything would work just fine by showing the output of a successful run. That was … Continue reading
Testing Python and PostgreSQL on Windows, Part 3
As a commenter mentioned in response to Part 2, an alternative to using pip install psycopg2, which requires that you first install VC++ 2008 Express, is to download and install the Windows port, aka win-psycopg. Jason Erickson makes these builds … Continue reading
Posted in PostgreSQL, Python
Tagged postgresql, psycopg, python, testing, tox, virtualenv
3 Comments
Testing Python and PostgreSQL on Windows, Part 2
In the previous post, I covered installation of Git, PostgreSQL and Python under Windows in order to set up a Pyrseas testing and development environment. Today, we’ll explore installation of the Python dependencies. The Hitchhiker’s Guide to Python recommends first … Continue reading
Posted in PostgreSQL, Python
Tagged postgresql, psycopg, python, pyyaml, testing, windows
4 Comments
Testing Python and PostgreSQL on Windows – Basics
In my previous post, I wrote: Although I have not yet personally run the [Pyrseas] unit tests on Windows …, I believe the tox setup should be quite portable …, since the tests only depend on Python and psycopg2 being … Continue reading
Testing Python and PostgreSQL on Multiple Platforms
I’m working on making the Pyrseas functional tests portable enough so that they can be submitted to the repository. Until now, these tests —which exercise dbtoyaml and yamltodb directly— existed as Linux shell scripts. Briefly, each test runs both dbtoyaml … Continue reading