Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

Lazarus Team: Do you use unit testing?

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

Ondre remarked in a previous message that he had submitted a fix for new CodeTools functionality which might have been broken in a later patch. This morning I've found 3 new issues (causing access violations) with CodeTools which were previously working.

This has me wondering, why don't we use unit testing with all modules to help prevent these types of situations?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151016/3bec1624/attachment.html>

Reply by email

Ondrej Pokorny
to Anthony Walter
Anthony Walter wrote 7 lines
Ondre remarked in a previous message that he had submitted a fix for new CodeTools functionality which might have been broken in a later patch. This morning I've found 3 new issues (causing access violations) with CodeTools which were previously working. This has me wondering, why don't we use unit testing with all modules to help prevent these types of situations?

Mattias added (unit) tests for situations that were found as regressions recently.

Ondrej

Reply by email

Mattias Gaertner
to Anthony Walter: Ondre remarked in a previous message that he had submitted a fix for new CodeTools…
Ondre remarked in a previous message that he had submitted a fix for new CodeTools functionality which might have been broken in a later patch. This morning I've found 3 new issues (causing access violations) with CodeTools which were previously working.

Please report them.

This has me wondering, why don't we use unit testing with all modules to help prevent these types of situations?

There was only one unit test for codetools type helpers yet. I added a few today and will add your test cases too.

Mattias

Reply by email