[QGIS-Developer] Testing QGIS Plugin

Etienne Trimaille etienne.trimaille at gmail.com
Mon Mar 23 04:11:27 PDT 2020


The dummy interface was mainly with QGIS 2. You don't need it anymore.

You can read :
https://github.com/qgis/QGIS/tree/master/.docker

I will try to make a PR on qgis about Docker this week about some notes I
have.

Le lun. 23 mars 2020 à 11:48, Jo <winfixit at gmail.com> a écrit :

> 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.
>
> 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.
>
> I can show you in about half an hour, if you're available, or later.
>
> Jo
>
> On Mon, Mar 23, 2020 at 11:15 AM shiva reddy <kotishiva at gmail.com> wrote:
>
>> Sure.
>>
>> Looking forward to it.
>> Thanks & Regards
>> Shiva Reddy K.
>> Scientist/Engineer 'SE’
>> Indian Institute of Remote Sensing,
>> Indian Space Research Organisation
>> Department of Space
>> 4-Kalidas Road
>> Dehradun
>> mobile: 0135-2524126
>>
>>
>>
>> On Mon, 23 Mar 2020 at 15:38, Jo <winfixit at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> 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.
>>>
>>> Jo
>>>
>>> On Mon, Mar 23, 2020 at 11:01 AM shiva reddy <kotishiva at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>> Due to ongoing COVID 19 situation , I get unique opportunity for refine
>>>> my skills by incorporating best practices into my open source projects.
>>>>
>>>> In this line, I would like to develop test cases  for my QGIS plugin.
>>>> Any idea , reference or any mentor who can guide me through this?
>>>>
>>>> My plugin name is QRealTime.
>>>>
>>>>
>>>> Thanks & Regards
>>>> Shiva Reddy K.
>>>> Scientist/Engineer 'SE’
>>>> Indian Institute of Remote Sensing,
>>>> Indian Space Research Organisation
>>>> Department of Space
>>>> 4-Kalidas Road
>>>> Dehradun
>>>> mobile: 0135-2524126
>>>>
>>>> _______________________________________________
>>>> QGIS-Developer mailing list
>>>> QGIS-Developer at lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200323/55c39a3c/attachment.html>


More information about the QGIS-Developer mailing list