summaryrefslogtreecommitdiff
path: root/test/bootstrap/noseplugin.py
Commit message (Collapse)AuthorAgeFilesLines
* trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-271-190/+0
| | | | | | | become an externally usable package but still remains within the main sqlalchemy parent package. in this system, we use kind of an ugly hack to get the noseplugin imported outside of the "sqlalchemy" package, while still making it available within sqlalchemy for usage by third party libraries.
* - profile file is configurableMike Bayer2012-09-261-2/+2
|
* - further reorganization of test suite:Mike Bayer2012-09-261-56/+38
| | | | | | | | | | | - bootstrap and lib move to all absolute imports - testing.py is no longer internally referenced. - requirements move to be a pluggable class which can be overridden. - cleanup in the interests of third party testing, test/lib and test/bootstrap may move to be an independent package.
* - fixes for mxODBC, some pyodbcMike Bayer2012-09-021-12/+25
| | | | | | - enhancements to test suite including ability to set up a testing engine for a whole test class, fixes to how noseplugin sets up/tears down per-class context
* OK! let's turn this around completely. Forget making a single count acrossMike Bayer2012-08-111-1/+7
| | | | | | all platforms. let's instead store callcounts for *all* observed platforms in a datafile. Will try to get enough platforms in the file for jenkins to have meaningful results. for platforms not in the file, it's just skiptest.
* -whitespace bonanza, contdMike Bayer2012-07-281-1/+1
|
* remove the "produce test" approach from the polymorphic_rel tests,Mike Bayer2012-02-281-0/+2
| | | | | break out fixtures into a separate module which will be used by some future test suites as well
* - rework the test suite to make use of SkipTest for tests skipped, ↵Mike Bayer2012-01-221-31/+30
| | | | | | | unsupported, etc. so that we can get an accurate picture what's really running/not, what's installed on jenkins, etc. Tested in cpython 2.7 so far, we'll see what jenkins says about other platforms
* - given that Oracle's issue is not just open connections, but *closed* ones ↵Mike Bayer2011-05-091-1/+5
| | | | | | | | too, go really heavy handed and start marking tests as "requires.ad_hoc_engines", add a flag --low-connections that will switch the engine reaper mechanism to use as *few* distinct engines and connections as possible, many engine tests that really need their own engines are just skipped.
* - hardcore force every connection into a strong-referenced set, rollback on ↵Mike Bayer2011-04-251-3/+5
| | | | | | | | | every test, close on every context. this uses pool events but bypasses the pool's fairy/record/dispose services. pypy still seems to expose some holes in that at least as far as what some (or maybe just one, cant find it yet) of the tests does. haven't tested this too deeply, just on sqlite + postgres, cypthon 2.7 + pypy. will see what the buildbot says
* - metadata.reflect() and reflection.Inspector()Mike Bayer2011-04-231-1/+3
| | | | | | had some reliance on GC to close connections which were internally procured, fixed this. - added --zero-timeout option to nose fixture, sets pool_timeout to zero
* - remove test.sql._base, test.engine._base, test.orm._base, move those ↵Mike Bayer2011-03-271-3/+3
| | | | | | | classes to a new test.lib.fixtures module - move testing.TestBase to test.lib.fixtures - massive search and replace
* - whitespace removal bonanzaMike Bayer2011-01-021-13/+13
|
* - support for cdecimalMike Bayer2010-12-111-2/+8
| | | | | | | | | | | | | | | | | | - add --with-cdecimal flag to tests, monkeypatches cdecimal in - fix mssql/pyodbc.py to not use private '_int' accessor in decimal conversion routines - pyodbc version 2.1.8 is needed for cdecimal in any case as previous versions also called '_int', 2.1.8 adds the same string logic as our own dialect, so that logic is skipped for modern pyodbc version - make the imports for "Decimal" consistent across the whole lib. not sure yet how we should be importing "Decimal" or what the best way forward is that would allow a clean user-invoked swap of cdecimal; for now, added docs suggesting a global monkeypatch - the two decimal libs are not compatible with each other so any chance of mixing produces serious issues. adding adapters to DBAPIs tedious and adds in-python overhead. suggestions welcome on how we should be doing Decimal/cdecimal.
* - use class name by itself in flush warnings to prevent overflow of warnings ↵Mike Bayer2010-11-291-1/+6
| | | | | | | registry - test suite swaps out warnings.warn with warnings.warn_explicit, to solve warnings registry issue - explicitly disallow functions from inside test.bootstrap, test.lib being interpreted as tests
* - sqlalchemy.test and nose plugin moves back to being entirelyMike Bayer2010-11-281-1/+4
| | | | | | | | | | | | outside of "sqlalchemy" and under "test/". Rationale: - coverage plugin works without issue, without need for an awkward additional package install - command line for "nosetests" isn't polluted with SQLAlchemy options [ticket:1949]
* - move sqlalchemy.test to test.libMike Bayer2010-11-151-1/+1
|
* first step of [ticket:1949], remove the setuptools aspectMike Bayer2010-11-151-0/+166
of the plugin, move it to test/bootstrap