Changelog¶
Version 0.22.2¶
Fixed problems caused by Skip marks and fails in
--max-errors.
Version 0.22.1¶
Fix error in
--max-errorsimplementation: Skip is applied oncallinsteadsetup.
Version 0.22.0¶
Added
--max-errorsoption to stop running the suite after specified number of subsequent errors.
Version 0.21.0¶
Upgraded Firebird driver and base to v2.x
Version 0.20.2¶
Fixed problem with utf8 db filenames in
Database.
Version 0.20.1¶
Dependency on
firebird-basechanged to “~=1.8”Updated
hatchconfiguration
Version 0.20.0¶
New
existing_db_factoryfirxture to directly use database fromdatabasessubdirectory. It’s not intended for use in Firebird QA, but it’s necessary for other plugin users.Fix: Report test error also in cases when unexpected stderr is returned from tool execution while
returncodeis zero.Fix: Select test marked for current platform also when it’s not marked for Firebird version.
Version 0.19.3¶
Fixed problem with ndiff in assert.
Version 0.19.2¶
Version 0.19.1¶
Fix for #21. Dependency to pytest changed from
>=8.0.0to4. Other dependecies changed from>=to=.
Version 0.19.0¶
Switch from
setuptoolstohatch.Updated dependencies.
Version 0.18.0¶
Added cache for empty databases. This works transparently and does not require any special configuration. Databases are stored in
dbcachesubdirectory (created automatically) for combination of ODS + page size + SQL dialect + character set.Files in
dbcachedirectory could be removed as needed (including whole directory) to fore creation of new database.Cache is enabled by default. Use new –disable-db-cache option to disable it.
Version 0.17.3¶
Added
--driver-configoption to specify different filename for driver configuration.
Version 0.17.2¶
Trace session support in plugin now uses service query with timeout (provided by firebird-driver 1.8.0) and terminates the trace thread gracefuly even if terminating trace session fails.
Version 0.17.1¶
When database initialization script fails, the XML output is extended with
dbinit-stderrproperty that containsstderroutput with errors reported by ISQL.
Version 0.17.0¶
Variable
test_cfgrenamed toQA_GLOBALS.Added
Mappingandmapping_factory.
Version 0.16.0¶
Added support for configuration of tests. A
ConfigParserinstance is available astest_cfg. This instance is initialized with values from filetest_config.inilocated infilessubdirectory.
Version 0.15.2¶
Fix problem with database init script. Now it uses the database charset instead default UTF8. The UTF8 is used only when database charset is not specified.
Version 0.15.1¶
Package
psutilis now a dependency, installed automatically with plugin.Added
encryptionmarker to mark test as requiring the encryption plugin
Version 0.15.0¶
To simplify portable use of databases with special configuration via
databases.conf, the plugin initialization now ensures empty subdirectoryQAin Firebird sample directory. To define your test databases indatabases.conf, use next pattern:my_db = $(dir_sampleDB)/QA/my-db.fdb { ... }On plugin initialization, the
QAsub-directory is first emptied and removed, and then newly created. On non-Windows, full privileges are granted.Added possibility to use databases aliases. The
db_factory()parameterfilenameis now handled as database alias if it starts with#, for example#employeemeans aliasemployee. The alias must be defined indatabases.conffile.When filename is an alias, the
Database.db_pathproperty does not contain fullPathto the database, but this database alias.
Version 0.14.0¶
Added possibility to specify user, password and role in
Action.connect_server()andAction.trace()
Version 0.13.1¶
Fixed problem with service encoding
Fixed problem with tags in User
Version 0.13.0¶
Explicit
Optionaltyping.Added support for both
encodingandencoding_errorsinAction.connect_server()andAction.trace().
Version 0.12.1¶
Initial release.