<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Etienne,</p>
<p>I partially but respectfully disagree. I agree that other tools
are better for this use case. But a mock (dummy) interface is
still a valid tool to check which API's are called how many times
and in which way on a headless testing server / CI. Also on QGIS
3.<br>
</p>
<p>Best regards</p>
<p>Matthias</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 3/23/20 12:11 PM, Etienne Trimaille
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMtDFLJoN35dWOfHUm20aT9wi4g9j6JDzk=s+HaX2JFktzdX6w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>The dummy interface was mainly with QGIS 2. You don't need
it anymore.</div>
<div><br>
</div>
<div>You can read :</div>
<div> <a
href="https://github.com/qgis/QGIS/tree/master/.docker"
moz-do-not-send="true">https://github.com/qgis/QGIS/tree/master/.docker</a></div>
<div><br>
</div>
<div>I will try to make a PR on qgis about Docker this week
about some notes I have.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le lun. 23 mars 2020 à 11:48,
Jo <<a href="mailto:winfixit@gmail.com"
moz-do-not-send="true">winfixit@gmail.com</a>> a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">What I found on the internet involves creating
a dummy interface, which is great if you want to do
Continuous Integration and such, but this wasn't the way I
wanted to test. I wanted to be able to see what was
happening right there in the live GUI.
<div><br>
</div>
<div>It took a while before I discovered that there is a
mini editor in the Python console. Now I'm launching my
test code from there and this works great. QTest allows me
to press buttons or enter values and unit testing allows
me to verify it's all as expected.</div>
<div><br>
</div>
<div>I can show you in about half an hour, if you're
available, or later.<br>
</div>
<div><br>
</div>
<div>Jo</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Mar 23, 2020 at
11:15 AM shiva reddy <<a
href="mailto:kotishiva@gmail.com" target="_blank"
moz-do-not-send="true">kotishiva@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Sure.
<div><br>
</div>
<div>Looking forward to it.<br>
<div>
<div>
<div dir="ltr">Thanks & Regards<br>
Shiva Reddy K.<br>
Scientist/Engineer 'SE’<br>
Indian Institute of Remote Sensing,<br>
Indian Space Research Organisation<br>
Department of Space<br>
4-Kalidas Road<br>
Dehradun<br>
mobile: 0135-2524126<br>
<br>
</div>
</div>
<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 23 Mar 2020 at
15:38, Jo <<a href="mailto:winfixit@gmail.com"
target="_blank" moz-do-not-send="true">winfixit@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I've been advancing a bit on the testing topic.
I'll gladly do a Googe Hangout with you. We can
probably learn from each other.</div>
<div><br>
</div>
<div>Jo</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Mar 23,
2020 at 11:01 AM shiva reddy <<a
href="mailto:kotishiva@gmail.com"
target="_blank" moz-do-not-send="true">kotishiva@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi,
<div>Due to ongoing COVID 19 situation , I get
unique opportunity for refine my skills by
incorporating best practices into my open
source projects.</div>
<div><br>
</div>
<div>In this line, I would like to develop test
cases for my QGIS plugin.</div>
<div>Any idea , reference or any mentor who can
guide me through this?</div>
<div><br>
</div>
<div>My plugin name is QRealTime.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>
<div dir="ltr">Thanks & Regards<br>
Shiva Reddy K.<br>
Scientist/Engineer 'SE’<br>
Indian Institute of Remote Sensing,<br>
Indian Space Research Organisation<br>
Department of Space<br>
4-Kalidas Road<br>
Dehradun<br>
mobile: 0135-2524126<br>
<br>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
</body>
</html>