Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 14, 2013
  1. @ribasushi
Commits on Dec 26, 2012
  1. @ribasushi

    Fix TODO tests to only mark exactly the failing tests as TODO

    Brendan Byrd authored ribasushi committed
    and run the passing tests as real tests.
Commits on Nov 3, 2012
  1. @ribasushi

    Fix API mismatch between new_related() and new_result() (RT#78336)

    ribasushi authored
    Almost 7 years ago a refactor in fea3d04 fed an (undocumented) $attrs
    parameter from new_related() to new_result(), while new_result() never
    expected (and ignored) said parameter. Since this is an undocumented
    feature, which nobody complained about for all this time - document
    extensively and kill it with fire.
Commits on Apr 11, 2012
  1. @ribasushi
Commits on Apr 9, 2012
  1. @ribasushi

    Allow for tests to run in parallel (simultaneously from multiple chec…

    ribasushi authored
    This is an interim solution and is by no means the final thing. It simply
    was possible to do in a short timeframe and cuts the test run time in half.
    If you have DSN envvars set, use at least -s -j8 for best results (the
    shuffling un-bunches similar tests, see discussion below)
    Two things are at play:
    First of all every SQLite database and every temp work directory is created
    separately using the pid of the *main* test process (there can be children)
    for disambiguation. Extra cleanup passes have been added to ensure t/var
    remains clean between runs.
    All other DSNs are reduced to their ->sqlt_type form and the result is used
    for a global lockfile. Said lockfile is kept in /tmp so that multiple
    testruns from multiple directories can be run against the same set of
    databases with no conflicts.
    Some of the tests are explicitly exempt from any locking and will run
    regardless of environment, for example t/storage/dbi_env.t
    The lockfiles are deliberately placed in File::Spec->tmpdir. This is done
    so that multiple dbic checkouts can run against the same set of DSNs without
    stepping on each other's toes.
    Some notes on why this is not a great idea, even though it works flawlessly
    under continuous test cycling: The problem is that our tests are not yet
    ordered in a spwecific way. This means that multiple tests competing for
    the same resource will inevitably lock all available test threads forming
    several bottlenecks along the path of execution. This issue will be adressed
    in a later patch, with the following considerations:
      - prove -l t/... must continue to work as is
      - test aggregation is something the test suite should try to avoid in
        general - after all DBIC is intended to be usable in CGI (yes, pure CGI)
        environments, so if the tests are getting heavy to run - this is an
        actual problem in need of fixing. Aggregation will instead sweep it under
        the rug
      - general reorganization of test groups / various path changes should only
        be attempted once we have a solid base for multi-db test runs
  2. @ribasushi
Commits on Mar 12, 2012
  1. @ribasushi

    Test suite wide leaktesting

    ribasushi authored
Commits on Jan 5, 2012
  1. @ribasushi
Commits on Nov 25, 2011
  1. @ribasushi
Commits on May 10, 2011
  1. @arcanez @frioux

    turn 'use vars' into 'our'

    arcanez authored frioux committed
    move the $VERSION up to the top of DBIx/ to aid in version detection
    (things like Module::Metadata find the $VERSION string and base it on the last package statement it has seen, not knowing that } 'ends' the package)
Commits on Mar 21, 2011
  1. @ribasushi

    Add startup sanity check of the ::DBI::Replicated method dispatch tables

    ribasushi authored
    In order to do this during testing only introduce the ::_ENV_::DBICTEST macro,
    and also make sure DBICTest::RunMode is loaded before the macro is set
    (therefore the multiple test changes)
Commits on Mar 1, 2011
  1. @arcanez @ribasushi
Commits on Jan 19, 2011
  1. @ribasushi
Commits on Nov 12, 2010
  1. @ribasushi
Commits on Aug 31, 2010
  1. @ribasushi
Commits on Jul 8, 2010
  1. @ribasushi
Commits on Jun 3, 2010
  1. @ribasushi
Commits on Jun 1, 2010
  1. @rkitover
Commits on Apr 28, 2010
  1. @ribasushi
Commits on Jan 31, 2010
  1. @ribasushi

    better skip message

    ribasushi authored
Commits on Jan 22, 2010
  1. @ribasushi

    Final round of detabify

    ribasushi authored
Commits on Sep 11, 2009
  1. @ribasushi


    ribasushi authored
    …- it seems to pass fine now
Commits on Sep 6, 2009
  1. @ribasushi

    Test cleanup:

    ribasushi authored
    Benchmark and Data::Dumper have been in core forever
    Make POD testing conditional as shown in
    Remove some dead cdbi test files
    Stop openly giving contributors an option to override the authorcheck
Commits on Jul 21, 2009
  1. @mendel
Commits on Jul 20, 2009
  1. @mendel

    No commit message

    mendel authored
Commits on Jul 2, 2009
  1. @ribasushi


    ribasushi authored
Commits on Jun 19, 2009
  1. @ribasushi

    cleanup svn attrs

    ribasushi authored
Commits on Jun 3, 2009
  1. @ribasushi
Commits on May 20, 2009
  1. @frioux
Commits on Apr 29, 2009
  1. @ribasushi
Commits on Apr 21, 2009
  1. @ribasushi

    Multiple cdbi-compat test cleanups

    ribasushi authored
    Clarify search_like deprecation
Commits on Jan 25, 2009
  1. @ribasushi
Something went wrong with that request. Please try again.