<div dir="ltr"><div>Dear all,</div><div><div class="gmail-post-text"><p>I am just starting with QGIS' processing to create some complex model which makes quite a lot of changes and I would like to know if there is a way to test my own model while launching it, so if the tests fail, I can get a notification and I will know that something went wrong before I realize too late and I have to lose any changes I made after executing the model with unexpected results.</p>

<p><strong>Example</strong>:</p>

<p>I am doing several joins and spatial joins. I learnt the hard way that after triggering several times my model, every time I was joining layers, new fields were added with a <code>_1</code> appended to them in order not to overwrite the previously created fields by mistake when I repeated the model. It would be great to have some test that either checked all the layer's fields or counted its number and, if they weren't as expected, triggered an alarm/dialog box or created a log file.</p>
    </div>Regards<br></div><div><br></div><div><br></div><div><div class="gmail_signature" data-smartmail="gmail_signature">Carlos Cámara<br><a href="http://carloscamara.es" target="_blank">http://carloscamara.es</a><br></div></div>
</div>