Re: [GNC-dev] [GNC] Unit Tests

"Derek Atkins" <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.devel,gmane.comp.gnome.apps.gnucash.user
Message-ID <[email protected]>
Hi,

This question really belongs on gnucash-devel, not gnucash-user.  So I am
CC'ing that.  Please direct your replies to the -devel list and drop -user
from the CC list!

On Thu, August 11, 2022 7:56 am, Robert Simmons wrote:
> Looking at the code repo I see a directory of unit tests, but it doesn't
> look like it has actual unit tests. Do you all do continuous integration
> somewhere and have unit tests? When a software defect is identified and
> fixed, do you create a unit test based on the fix?

There are some Github Actions in place.  It should be running the "make
check" process.

Depending on the bug, sometimes unit tests can't be written (e.g. if it's
a UI issue).  But in general, for the engine, yes, we try to add a
test-case along with the bugfix.  But there is no hard-and-fast rule.

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek


-- 
       Derek Atkins                 617-623-3745
       [email protected]             www.ihtfp.com
       Computer and Internet Security Consultant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.