Skip to content
  1. Jan 13, 2020
  2. Aug 14, 2019
  3. Aug 07, 2019
    • joubu's avatar
      Issue #20 - make is_boolean mandatory even for non boolean columns · a088b976
      joubu authored and joubu's avatar joubu committed
      a088b976
    • joubu's avatar
      Issue #20 - Check BOOLEAN vs TINYINT(1) - SQL12 · 74ea41b8
      joubu authored and joubu's avatar joubu committed
      This patch will ensure our SQL12 coding guideline.
      https://wiki.koha-community.org/wiki/Coding_Guidelines#SQL12:_Booleans
      
      Test plan:
      0/ Go to your Koha repo
      1/ Modify kohastructure.sql and add a new column with the type BOOLEAN
      2/ Commit and execute the QA script
      => New check boolean_vs_tinyint will fail
      3/ Replace the type with TINYINT(1)
      4/ Commit and execute the QA script
      => New check tinyint_has_boolean_flag will fail
      5/ Edit the relevant schema file to tell DBIx::Class that this new column is a boolean
      6/ Commit and execute the QA script
      => Success!
      74ea41b8
  4. Jun 22, 2019
  5. May 10, 2019
  6. Mar 06, 2019
  7. Mar 02, 2019
  8. Dec 05, 2018
    • Mark Tompsett's avatar
      Bug 21892: Ignore Sheat when checking spelling · 4e076f26
      Mark Tompsett authored and joubu's avatar joubu committed
      1) without this patch applied to your qa-test-tools
         run the test plans for the first two patches
      -- both should fail, with just 1 applied, and both applied
         to your kohaclone.
      2) apply this patch to your qa-test-tools
      3) rerun the test plans for the first two patches
      -- just 1 applied should now pass, but both applied should
         still fail.
      4e076f26
  9. Nov 12, 2018
  10. Nov 08, 2018
  11. Sep 21, 2018
    • joubu's avatar
      Issue #3: Skip tests if module does not exist in Koha src yet · a2901921
      joubu authored and joubu's avatar joubu committed
      a2901921
    • joubu's avatar
      Issue #3: Add tests · ab80f240
      joubu authored and joubu's avatar joubu committed
      ab80f240
    • joubu's avatar
      Issue #3: Add a new check for missing filters in TT files · 32eec770
      joubu authored and joubu's avatar joubu committed
      Bug 21393
      (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21393) will
      let us reuse the code to catch missing filters in templates.
      
      Test plan:
      - Apply patches from 21393
      - Add a new commit to your Koha codebase with variables that are not
      escaped, run the QA script
      => Failures on new "filters" check
      - Add a new commit with correctly escaped variables
      => No failure
      - run the tests from qa-test-tools (prove t)
      => Return green
      
      - Checkout a Koha master branch (so without 21393 assuming it's not
      pushed yet)
      - Run the QA script
      => The next "filters" check is skipped (module does not exist)
      Note: the qa-test-tools tests will fail but I do not think we should
      spend time on that
      32eec770
  12. Sep 19, 2018
  13. Aug 13, 2018
  14. Jul 31, 2018
  15. Apr 13, 2018
  16. Apr 04, 2018
  17. Feb 16, 2018
  18. Jan 22, 2018
  19. Dec 12, 2017
  20. Jul 19, 2017
  21. Jul 18, 2017
  22. Jun 01, 2017
    • joubu's avatar
      Add the --failures flag · 607a1112
      joubu authored and joubu's avatar joubu committed
      If set the ouput will only display tests that fail for a given file.
      The filenames will still be displayed even if all tests pass.
      
      This is only useful when used with -v 2
      607a1112
  23. May 26, 2017
  24. Apr 20, 2017
  25. Jan 18, 2017
  26. Nov 01, 2016