Koha-clms/t/db_dependent/Koha
Jonathan Druart e1e52c5493 Bug 20767: Display a stack trace when a method is not covered by tests
When a method is not allowed yet (not covered by tests), developers get
an error the is not really useful: "The method XXX is not covered by
tests!"
It would be more useful to have a stack trace in order to know where
this error come from.

Test plan:
Modify some code to display this stack trace and confirm it makes sense
to have it, i.e. it will make debug easier

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b9dffc169d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-06-06 14:01:13 +02:00
..
Acquisition Bug 15685: Add tests for Koha::Acquisition::Order->basket 2017-10-11 13:08:47 -03:00
Filter Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
Item Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Patron Bug 20584: Prevent Koha/Patron/Categories.t to fail randomly 2018-05-22 09:58:13 +00:00
SearchEngine Bug 19582: Unit tests 2018-05-14 13:19:27 +00:00
Authorities.t Bug 18149: Move CountUsage calls to Koha namespace 2017-09-19 11:47:32 -03:00
BiblioFrameworks.t Bug 16155: [QA Follow-up] Add transaction to BiblioFrameworks.t 2016-05-04 13:47:58 +00:00
BiblioUtils.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Biblios.t Bug 4319: (QA follow-up) Rename hasItemswaitingOrInTransit to has_items_waiting_or_intransit 2018-02-22 01:05:02 +00:00
Checkouts.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Cities.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
CsvProfiles.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
GetDailyQuote.t Bug 18767: Remove useless diags from GetDailyQuote.t 2017-06-09 11:55:35 -03:00
Holds.t Bug 19059: Remove CancelReserve - add new tests 2017-09-12 12:42:59 -03:00
IsKohaFieldLinked.t
…
IssuingRules.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
ItemTypes.t Bug 12768: Fix tests - itemtypes.rentalcharge is now decimal(28,6) 2017-10-23 12:06:20 -03:00
Items.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Libraries.t Bug 10132: (QA followup) Organize tests in subtest 2017-09-19 09:47:28 -03:00
MarcSubfieldStructures.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
News.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Notices.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Object.t Bug 18725: Test return values of make_column_dirty 2018-05-22 09:58:14 +00:00
Objects.t Bug 20767: Display a stack trace when a method is not covered by tests 2018-06-06 14:01:13 +02:00
Patrons.t Bug 20311: Prevent get_age tests to fail on Feb 28th 2018-04-06 17:02:49 +00:00
Ratings.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Reviews.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
SMS_Providers.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Subscription.t Bug 18785: Add the Koha::Subscription->biblio method 2017-10-09 16:15:50 -03:00
Suggestions.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00