Message from C, C++ discussions

January 2020

— And. even dumber example, you write a tool that parses some text and just outputs it in another format, the whole tool is 100 lines, does this really need testing????

Message permanent page


Why are you trying to use such a serious topic as an insult? I'm not autistic, but even if I were, what's the matter?

— Or analyzing or automated builds or any of that shit like that

— Of course it is good practice to do unit testing, it always is, but doing unit testing is also not good if you first develop the code and then the tests; you write tests that will pass. Some other people should write tests for your program. Or then write tests before developing

Message permanent page

— Of course small projects should not be considered here

— I'm interested in those cases

— If you're just doing a proof-of-concept, of course you don't need testing, but it's not the case I'm talking about

Message permanent page

— This is not necesarilly a "proof of concept"

— Writing an SMM code, for example? How would I test my code without running it on a real hardware (system testing)?

Should I code a intel PCH100/PCH200 emulator?

Message permanent page

— I know there is EDK2 and Ovmf which can be run inside an emulator, but they still won't emulate REAL chipsets found on real motherboards

Message permanent page

— It's a niche topic, of course software should be tested. I worked as an test engineer in a software company before

Message permanent page

— I guess that's better than no testing at all