Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jun 09, 2011

  1. Clay Fouts

    Add Koha.pm and include it universally

    At this point all we're doing is turning on warnings, strict,
    and 5.10 features by default in all files. This also defines
    a $Koha::VERSION variable which is going to be the basis for
    the code revision number, as opposed to $C4::Context::VERSION,
    which is the data config version number.
    ctfliblime authored

Mar 12, 2011

  1. Clay Fouts

    Prepare for perlbrew usage by changing all script magic to "#!/usr/bi…

    …n/env perl"
    ctfliblime authored

Aug 20, 2009

  1. Frédéric Demians

    Test case identifying incoherences between 'en' sysprefs and translat…

    …ed ones
    
    Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
    fredericd authored gmcharlt committed

May 01, 2009

  1. new author test for syntax errors in HTML templates

    Added a new author test to look for syntax errors
    in the HTML templates.  Run by doing
    
    prove xt/author/valid-templates.t
    
    from the root of a Koha source tree.
    
    This test will help catch the following errors:
    
    * unbalanced TMPL_IF, TMPL_UNLESS, and TMPL_LOOP contructs, e.g.,
      cases where a TMPL_IF is not closed by a /TMPL_IF.
    * references to nonexistant include files
    * syntax errors within a HTML::Template::Pro tag
    
    This test currently ignores errors related to TMPL_IF EXPR, which
    is currently deprecated for use in Koha -- this may be made
    stricter in the future.
    
    Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
    Galen Charlton authored

Nov 17, 2008

  1. moved Test_CSV_Various.t to xt/author

    Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
    Galen Charlton authored

Jul 10, 2008

  1. Andrew Moore

    adding pod spelling test

    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
    amoore authored Joshua Ferraro committed

Jul 07, 2008

  1. bug 2295 [followup 1/2]: added name to one of tests in icondirectories.t

    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
    Galen Charlton authored Joshua Ferraro committed
  2. Andrew Moore

    bug 2295 [2/4]: moving icondirectories.t from t to xt

    the icondirectories.t test depends on the database, so it needed to be
    moved. But, it's really more of an author test since it's testinging the
    correct structure of our distribution, so I'm moving it to xt/author.
    
    Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
    amoore authored Joshua Ferraro committed

Jun 25, 2008

  1. Andrew Moore

    bug: 2269 - adding a perltidyrc file

    This patch adds xt/perltidyrc, a suggested perltidy configuration file.
    
    It's in the xt directory because I'd like to eventually tie it in with Test::Perl::Critic
    to run automated tests on tidyness and other Perl::Critic policies. That stuff belongs in
    the xt directory since it's testing for developers use only.
    
    I have only turned on a few directives based on the suggestions by MJ, historical discussion on
    the mailing lists, and what I was told when I started contributing to koha. There are many other
    directives in this file that are commented out. They are supposed to represent the defaults and
    can be adjusted in the future if desired.
    
    Use of this file is encouraged, but not required. It would be really nice if you could at least run
    it on new files that you contribute. I would recommend not running it on files that are already
    part of koha without writing some tests for those files and discussing your intentions to reformat
    entire files in bulk.
    
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
    amoore authored Joshua Ferraro committed

Jun 23, 2008

  1. new automated test for template translatability

    This test verifies that the English OPAC and staff templates
    can be processed by the string extractor (tmpl_process3.pl)
    without error.  If a template contains a parsing error
    (at least as far as tmpl_process3.pl is concerned), it may
    not be correctly converted when a language translation
    is applied.
    
    To run this test, do
    
    prove -v xt/author/translatable-templates.t
    
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
    Galen Charlton authored Joshua Ferraro committed

Jun 20, 2008

  1. Andrew Moore

    Adding an automated test for POD correctness.

    This test script checks all perl files in the C4 directory for POD correctness. It is
    completely optional, and as of yet, is not actually run when you run the test suite.
    It's just a handy way to check our POD documentation, which should be correct before
    we release code.
    
    This script can be invoked with 'prove -v xt/author/podcorrectness.t'
    
    Additionally, this is the first test in the 'xt' directory. Current perl testing practices
    have reserved the 'xt' directory for tests that should be run by the code authors before
    release. See:
    http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:Achievements#Testing_Best_Practices
    for more information.
    
    Signed-off-by: Joshua Ferraro <jmf@liblime.com>
    amoore authored Joshua Ferraro committed
Something went wrong with that request. Please try again.