Need help in getting started with writing the integration test

Tobias Deiminger haxtibal at posteo.de
Sun Jun 3 19:49:09 UTC 2018


Am 03.06.2018 21:39 schrieb Tobias Deiminger:
> Am 03.06.2018 08:05 schrieb Dileep Sankhla:

Ups, I misread the question
>> What will I compare here?

as "what will compare here?"

> GUI tests compare with autotests/parttest.cpp.
> Core tests potentially compare with autotests/*annot*.cpp
> Afaikt there are no tests yet that check painting results pixel wise.

New answer: You compare actual outcome with expected outcome. What 
actual outcome and expected outcome means depends on your test case. You 
have to define it.

Tobias


More information about the Okular-devel mailing list