View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|16771||Development||Other||public||2020-10-21 17:52||2020-10-22 12:40|
|Summary||16771: Create unit-tests for all (some?) events|
Having events break is bad. Unit-tests would make sure we don't break compatibility by mistake, like with question attributes.
|Tags||No tags attached.|
core plugins can be used for events testing.
I was hoping a test suite could be created independent of installing plugins etc. We can't make a core plugin for every event in the software.
You just check if the event happen, not if it does the functionality.
You spoke for question attributes :
Hm! If we have a function foo() that contains event E, then we must check that the return values of foo() can be affected by E properly.
Yes, sure : but : in my opinion it's really complex to know what exact function use it :).
Well, then we need to do integrity tests to test that plugin. Not fun.
|2020-10-21 17:52||ollehar||New Issue|
|2020-10-21 17:52||ollehar||Description Updated||View Revisions|
|2020-10-21 19:09||DenisChenu||Note Added: 60348|
|2020-10-22 11:26||ollehar||Note Added: 60353|
|2020-10-22 11:32||DenisChenu||Note Added: 60355|
|2020-10-22 11:37||ollehar||Note Added: 60356|
|2020-10-22 12:37||DenisChenu||Note Added: 60360|
|2020-10-22 12:40||ollehar||Note Added: 60361|
|2020-10-22 12:40||ollehar||Note Edited: 60361||View Revisions|