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 , , , , , | 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 , , , , , | 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

Posted in PostgreSQL, Python | Tagged , , , , | 4 Comments

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 , , , , , | 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 , , , , , | 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

Posted in PostgreSQL, Python | Tagged , , , , , | 1 Comment

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

Posted in PostgreSQL, Python | Tagged , , , | 1 Comment