testing-postgresql
automatically setups a postgresql instance in a temporary directory, and destroys it after testing
1.3.0
4.5M downloads/mo
#2293 most downloaded on PyPI
tk0miya/testing.postgresql
What this package is like to depend on
Last release 11 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 6 months
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
13 years old
14 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
14 releases · Nov 2013 to Feb 2016Releases
latest 14-
1.3.004 Feb 2016Commits, not release notes
This project publishes no release notes. Between
1.2.1and1.3.0there were 25 commits, 22 of them substantive:- fix strings concatenation
- fix indentation according to PEP8
- Add testing.postgresql.PostgresqlFactory
- Add initdb_handler option to PostgresqlFactory
- Test with py35
- Save pid if server launches normally
- Rename options of PostgresqlFactory: cache_initialized_db and on_initizlied
- Do cleanup if got errors
- Split common parts to testing.common.database.Database
- Move Postgresql#stop(), terminate() and cleanup() to testing.common.database
- Move Postgresql#init() to testing.common.database
- Move Postgresql#start() to testing.common.database (w/ refactoring)
- Assign port to database server at testing.common.database
- Remove Postgresql#getattr(); Use self.settings instead of the accessor
- Move Postgresql#setup() to testing.common.database
- Move get_path_of() to testing.common.database
- Move skipIfNotInstalled to testing.common.database
- Move PostgresqlFactory to testing.common.database
- Rename Database#create_default_database to poststart()
- Separate package: testing.common.database
…and 2 more.
-
1.2.122 Aug 2015Commits, not release notes
This project publishes no release notes. Between
1.2.0and1.2.1there were 4 commits, 3 of them substantive:- Add .gitignore
- Accept
TRAVIS*environment variables at testing to enable coveralls - Close #3 Fix AttributeError on end of tests
-
1.2.017 May 2015Commits, not release notes
This project publishes no release notes. Between
1.1.2and1.2.0there were 19 commits, 17 of them substantive:- Added tag 1.1.2 for changeset bfa3bfaf694e
- refactored to use pg8000 and updates to unit testing
- update to catch for pg8000's base exception in is_connection_available
- Test both psycopg2 and pg8000
- Use SQLAlchemy in testcase
- Use unreleased detox for testing
- Pinning tox (< 2.0); conflicts with detox...
- Use new detox package on PyPI (now released!)
- should be upgrade pip and setuptools on drone.io
- Connect to postgres to create test database
- Move to github
- Add coverage target to tox.ini
- Use Travis CI as CI env instead of drone.io
- Add .codeclimate.yml
- Paste badges to README
- Reloacate URLs on README
- Use pip instead of easy_install at installation exmample
-
1.1.206 Apr 2015Commits, not release notes
This project publishes no release notes. Between
1.1.1and1.1.2there were 4 commits, 3 of them substantive:- Added tag 1.1.1 for changeset eda715457e02
- Raise detailed RuntimeError if initdb exits non-zero
- Do not call os.getpid() on destructor (if not needed)
-
1.1.118 Jan 2015Commits, not release notes
This project publishes no release notes. Between
1.1.0and1.1.1there were 11 commits, 10 of them substantive:- Added tag 1.1.0 for changeset a409dc0556d1
- Created new branch macports-path-fixed
- MacPorts default path is /opt/local/lib/postgresql*, no dash
- Add tests to MANIFEST.in
- Disable logging_collector feature
- Merged in lsinger/testing.postgresql/macports-path-fixed (pull request #9)
- Merged in rmarko/testing.postgresql (pull request #10)
- Use wheel package at drone.io
- Install eventlet<0.16 on testing (detox crashes with eventlet-0.16.x)
- Fix syntax error in .drone.io.sh
-
1.1.020 Dec 2014Commits, not release notes
This project publishes no release notes. Between
1.0.6and1.1.0there were 5 commits, 4 of them substantive:- Added tag 1.0.6 for changeset 773f357a9c10
- Update .hgignore
- Test for target directories before creation
- Run 'postgres' instead of 'postmaster'
-
1.0.617 Sep 2014Commits, not release notes
This project publishes no release notes. Between
1.0.5and1.0.6there were 7 commits, 6 of them substantive:- Added tag 1.0.5 for changeset 4fe6131dcfef
- Run postmaster with fsync off.
- Don't allow errors to pass silently.
- Use fast shutdown mode for postmaster
- More reliable connection availability check
- Fix flake8 violations
-
1.0.519 Jul 2014Commits, not release notes
This project publishes no release notes. Between
1.0.4and1.0.5there were 8 commits, 7 of them substantive:- Added tag 1.0.4 for changeset fb0a4c91f640
- Merge with upstream
- Note on the README that psycopg2 2.5+ is required since this version enabled connection and cursor objects can be used in with statements [http://initd.org/psycopg/docs/news.html#what-s-new-in-psycopg-2-5]
- Revert accidental change to tests
- Update install_requires: pycopg2 >= 2.5
- Modify PATH environment to ensure that "XXX not found" error handling tests pass even if psql binaries are visible in the default search path. This assumes that any UNIX-like system can locate
whichunder /usr/bin. - Fix pyflake8 violation
-
1.0.419 Jun 2014Commits, not release notes
This project publishes no release notes. Between
1.0.3and1.0.4there were 10 commits, 9 of them substantive:- Added tag 1.0.3 for changeset 9b50d167b019
- - Add /usr/local/bin (FreeBSD and OpenBSD)
- Fix failed on cleanup()
- Fix shutdown-timeout does not work
- Generate test data for copy-data-from feature on testing
- Merge upstream
- Fix --lc-messages option is not provided from postmaster command. Move it to initdb.
- Merged in eradman/testing.postgresql (pull request #2)
- Refactor around os.waitpid()
-
1.0.311 Jun 2014Nothing published for this version
-
1.0.206 Dec 2013Nothing published for this version
-
1.0.105 Dec 2013Nothing published for this version
-
1.0.005 Dec 2013Nothing published for this version
-
0.1.026 Nov 2013Nothing published for this version