Strona głównaSztuka programowania

Reading time ~7 minutes I am not a big fan of writing tests. I like having them, but I find writing them to be boring. That said, retesting manually is even more annoying, so I write tests. The thought that there has to be a better way, never passed. I tried a few approaches. After some experimentation, I think I have the answer - DDT (Data Driven Testing) Before we dig into what Data Driven Tests are, let’s look at some standard, non-DDT tests.What we will be testing? There is a fragile line for cod...

Dziel się z innymi:
Refactoring to Data Driven Tests – IndexOutOfRange

Sztuka programowania 1901 dni, 19 godzin, 27 minut temu maklipsa 41 pokaż kod licznika zwiń

Wczytywanie artykułów...