Dear developers,
First of all: thank you so much for your valuable work that you invest
into darktable! I really enjoy using this software.
I personally think that you could need some help and thus this mail. I
am intending to add some unit tests in order to verify the code on a low
level. I think you have some users/testers reporting issues that sound
sometimes a bit fuzzy and are hard to find. Unit testing can test the
code for corner cases and find flaws before the users find them. It is
also extremely helpful when it comes to refactoring.
The past few days I invested some time to prepare a small feasibility
study based on cmocka (https://cmocka.org/). It is easy to use and has
the possibility to mock functions, i.e. to change functions in their
behavior for testing. I was able to test as an example the process()
method of the new filmicrgb module by providing some minimal environment
and just 1 pixel as input parameters. The code can be found under
https://burrima.ch/dl/0001-Added-simple-unit-test-sample-for-demonstration.patch
(note: I currently don't have a github account but I will create one
later).
In this first email, I won't go into technical details because I first
want to know if you generally have interest in unit tests and in me
participating in this project.
I have many more ideas what could be done for darktable in order to
increase the quality - e.g. stuff going towards modern development
methods: continuous integration, automated testing, etc. etc. - but that
goes way too far beyond the scope of this email :-)
Some words about me:
My name is Martin Burri and I live in Switzerland, close to Basel. You
can find my website with more information about me under
https://burrima.ch (bit old site but still valid). I work 90% for a big
company as Senior Software Development Engineer. We are developing
mission critical communication equipment for power utilities. Thus, I
have a very high awareness of software quality. I always try to write
simple and maintainable code.
In my spare time, I already had some smaller personal coding projects,
mainly for myself without releasing them to the public. But I am sick of
that, I want to do something more reasonable where others can profit
from. I can imagine to support darktable for a longer period of time,
not just for a one-shot. Usually, I can invest about 5-10 hours per week
into private projects, sometimes more, sometimes less.
Et pour les dévelopeurs Français: Ma Femme est demi-Française et à cause
de ça je peux comprendre pas mal - donc écrire est une histoire
différente :-)
Looking forward to your feedback!
Best regards,
Martin
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org