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...
View ArticleTesting 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...
View ArticleTesting 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...
View ArticleTesting 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...
View ArticleTesting 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...
View ArticleTesting 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...
View ArticleTesting 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...
View Article