Skip to content


Subversion checkout URL

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

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

    Brendan Byrd committed with ribasushi
    and run the passing tests as real tests.
Commits on Apr 9, 2012
  1. @ribasushi

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

    ribasushi committed
    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
Commits on Mar 16, 2012
  1. @abraxxa @ribasushi

    removed unnecessary use of Test::Exception

    abraxxa committed with ribasushi
    ack -l Test::Exception t/ | xargs egrep -L 'lives_ok|dies_ok|throws_ok|lives_and'
Commits on Jun 5, 2011
  1. @ribasushi
Commits on Mar 21, 2011
  1. @ribasushi

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

    ribasushi committed
    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 Sep 18, 2010
  1. @ribasushi
Commits on Sep 16, 2010
  1. @nigelm @ribasushi

    FilterColumn tweaks - docs and parameter tests

    nigelm committed with ribasushi
    Now throws exception if no filter parameters passed.
    Documentation tweaked slightly.
Commits on Aug 13, 2010
  1. @ribasushi
Commits on May 10, 2010
  1. @ribasushi
Commits on May 7, 2010
  1. @frioux

    no filter and inflate column

    frioux committed
Commits on May 6, 2010
  1. @ribasushi
Commits on May 5, 2010
  1. @frioux

    test caching

    frioux committed
Commits on Apr 15, 2010
  1. @frioux

    method and arg rename

    frioux committed
  2. @frioux

    better namiology

    frioux committed
Commits on Apr 14, 2010
  1. @frioux

    test db in MC

    frioux committed
  2. @frioux

    MultiCreate test

    frioux committed
  3. @frioux

    working filter column impl

    frioux committed
  4. @frioux

    basic tests and a tiny fix

    frioux committed
Commits on Apr 13, 2010
  1. @frioux

    change names wrap accessors

    frioux committed
Commits on Mar 13, 2010
  1. @monken
  2. @monken
  3. @monken
Commits on Mar 4, 2010
  1. @ribasushi

    Fix identity fiasco

    ribasushi committed
Something went wrong with that request. Please try again.