[yast-devel] Bugfixes with openQA test

Hi, This might be understood as quite a controversial theme, but that's actually the reason why I'm writing it here. I've seen the progress in our last sprint and most of our delaying was caused by "trying to implement" some openQA test. This means we are fixing half of bugs we could. As I see it, there are two ways of step over this problem: 1. Minimize creating openQA tests to a.) features b.) important issues that are likely to break in the future [short to mid term] 2. Make creating openQA tests a piece of cake, maybe by introducing some Yast library, maybe by contributing to openQA to make it well understandable, well documented [mid to long term] We'll be, most probably, required to fix more bugs in Leap and SLE 12 SP1 in the near future. For that reason, I'd prefer #1 now, switching to #2 later. Is there any #3 or #4? Or maybe I'm just looking at it through different optics - maybe you even feel the bugfixing flow fast enough? Thanks Lukas -- Lukas Ocilka, Systems Management (Yast) Team Leader SLE Department, SUSE Linux -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org

Hello, Am Freitag, 14. August 2015 schrieb Lukas Ocilka:
I'd argue that "issues" are missing or broken features, so a) is always true ;-)
3. change 2. to "short to mid term" or, even better, "short term" ;-) This means you'll "loose" some days to get started with openQA and to develop something that makes writing tests easier. I can already hear someone saying "we have no time for that" - but I'm quite sure you'll save that time while writing tests within some months. BTW: The interesting question might be if you always need to use openQA or if the YaST-internal testsuite is a better choice in some cases. Feel free to s/openQA/testsuite/ whenever it fits. I know it's easy to say for me because I'm not involved in YaST programming ;-) We had a similar situation with tests for the AppArmor tools, and I learned the hard way that investing time to create test infrastructure is _always_ a good idea because it made it much easier and faster to write the tests. (BTW: the AppArmor 2.9 aa-* tools had a test coverage of 18%, 2.10 has 36% :-) Oh, and I probably don't need to tell you that rewriting code is much easier and faster with a good test coverage - at least I'm less afraid of breaking something if the tests still pass ;-) Regards, Christian Boltz -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org

Hi, Am 14.08.2015 um 10:50 schrieb Lukas Ocilka:
Not sure if those test really decrease the overall bug fixing rate that much since not everyone was trying to create openQA-tests. However I think that it a self-healing issue, since after a while working with openQA one gets used to it and gets used to it and therefore gets much faster. At least that is what I can see for myself over the last few sprints where I created openQA tests.
I found a kind of workflow for implementing tests now. Unfortunately current openQA does not really support that workflow until now. So contributing to openQA would definitively help in speed up working with it. I'll see what I can do, as soon time permits. Mit freundlichen Grüßen, Christopher Hofmann -- Attachmate Group Germany GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton HRB 202401 (AG München) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org

Hello, Am Freitag, 14. August 2015 schrieb Lukas Ocilka:
I'd argue that "issues" are missing or broken features, so a) is always true ;-)
3. change 2. to "short to mid term" or, even better, "short term" ;-) This means you'll "loose" some days to get started with openQA and to develop something that makes writing tests easier. I can already hear someone saying "we have no time for that" - but I'm quite sure you'll save that time while writing tests within some months. BTW: The interesting question might be if you always need to use openQA or if the YaST-internal testsuite is a better choice in some cases. Feel free to s/openQA/testsuite/ whenever it fits. I know it's easy to say for me because I'm not involved in YaST programming ;-) We had a similar situation with tests for the AppArmor tools, and I learned the hard way that investing time to create test infrastructure is _always_ a good idea because it made it much easier and faster to write the tests. (BTW: the AppArmor 2.9 aa-* tools had a test coverage of 18%, 2.10 has 36% :-) Oh, and I probably don't need to tell you that rewriting code is much easier and faster with a good test coverage - at least I'm less afraid of breaking something if the tests still pass ;-) Regards, Christian Boltz -- No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org

Hi, Am 14.08.2015 um 10:50 schrieb Lukas Ocilka:
Not sure if those test really decrease the overall bug fixing rate that much since not everyone was trying to create openQA-tests. However I think that it a self-healing issue, since after a while working with openQA one gets used to it and gets used to it and therefore gets much faster. At least that is what I can see for myself over the last few sprints where I created openQA tests.
I found a kind of workflow for implementing tests now. Unfortunately current openQA does not really support that workflow until now. So contributing to openQA would definitively help in speed up working with it. I'll see what I can do, as soon time permits. Mit freundlichen Grüßen, Christopher Hofmann -- Attachmate Group Germany GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton HRB 202401 (AG München) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (3)
-
Christian Boltz
-
Christopher Hofmann
-
Lukas Ocilka