kSPvhmTOlwvMd7Y7E@programming.devtoPython@programming.dev•Python in Excel – Available Now
51·
2 months agoAbsolutely not a replacement to VBA. Not even close. As usual, Microsoft hypes something everyone wants, and then implements something nobody asked
Don’t write “if” in your tests! It makes very, very little sense: how is that, you test your application and you are unsure what is the resulting outcome of a call? Is it depending on arguments? Then fix the argument, and expect 1 specific result. Is it depending on environment? Fix/mock the environment.
No “ifs” in the tests!