Category: Specification-Based Testing
-
Een avond online ontspannen zonder de tijd uit het oog te verliezen
Een vrije avond kan ongemerkt vollopen met schermtijd. Je opent een app om even te kijken en merkt pas later dat het bedtijd is. Dat hoeft geen reden te zijn om digitale ontspanning helemaal te mijden. Met een paar bewuste keuzes houd je zelf de regie over wat je doet en wanneer je stopt. Dat…
-
Een frictie-audit voor je digitale vrije tijd
Een avond vrij lijkt eenvoudig te plannen: je kiest iets om te kijken, spelen of lezen en gaat zitten. Toch kan digitale ontspanning ongemerkt meer tijd of geld kosten dan je bedoelde. Meldingen trekken je terug naar een app, een gratis proefperiode loopt door en een spel nodigt uit tot nog één ronde. Met een…
-
Is Cocoa Casino UK Worth Considering? Licensing, Bonuses, and Checks Players Should Make
Cocoa Casino is an online gambling site at cocoacasino.com that promotes casino play and sportsbook services to visitors, including UK readers. Its homepage advertises a 200% deposit bonus, cashback offers and VIP loyalty points. Those headline features may attract attention, but they do not establish whether the operator is suitable for someone in the United…
-
How to build a quieter routine in a shared home
In a shared home, noise is often a scheduling problem before it becomes a neighbor problem. One person takes a call while another cooks, studies, or tries to rest. A few small choices about where sound comes from and where it goes can make those overlaps easier to manage without asking everyone to follow the…
-
Zakład sportowy zaczyna się od ustawień, nie od typowania
Przed meczem łatwo skupić się na składach, statystykach i przewidywanym wyniku. Tymczasem przy korzystaniu z serwisu bukmacherskiego pierwszą decyzją wcale nie musi być wybór drużyny. Rozsądniej zacząć od sprawdzenia, jak działa konto, gdzie znajdują się limity i ile czasu zajmuje znalezienie potrzebnych informacji. Taki przegląd można zrobić na dowolnym serwisie, na przykład na https://parimatch.net.pl/. Nie…
-
Jak projektować cyfrowy odpoczynek, żeby nie zamienił się w kolejny obowiązek
Po pracy łatwo sięgnąć po telefon bez konkretnego planu. Jedna osoba sprawdza wiadomości, druga uruchamia grę, ktoś inny przegląda ofertę serwisu rozrywkowego. Sam wybór nie musi być problemem. Kłopot zaczyna się wtedy, gdy odpoczynek nie ma granic i po godzinie trudno powiedzieć, czy przyniósł ulgę, czy tylko zajął czas. Dobrym punktem wyjścia jest potraktowanie cyfrowej…
-
The role of experience and creativity
If two testers performed the specification-based testing technique I described earlier in the same program, would they develop the same set of tests? Ideally, but possibly not. In the substringsBetween() example, I would expect most developers to come up with similar test cases. But it is not uncommon for developers to approach a problem from completely different…
-
How does this work with classes and state?
The two methods we tested have no state, so all we had to do was think of inputs and outputs. In object-oriented systems, classes have state. Imagine a ShoppingCart class and a behavior totalPrice() that requires some CartItems to be inserted before the method can do its job. How do we apply specification-based testing in this case? See the following listing.…
-
Requirements can be of any granularity
The seven-step approach I propose works for requirements of any granularity. Here, we applied it in a specification that could be implemented by a single method. However, nothing prevents you from using it with larger requirements that involve many classes. Traditionally, specification-based testing techniques focus on black-box testing: that is, testing an entire program or…
-
Go for parameterized tests when tests have the same skeleton
A little duplication is never a problem, but a lot of duplication is. We created 21 different tests for the substringsBetween program. The test code was lean because we grouped some of the test cases into single test methods. Imagine writing 21 almost-identical test cases. If each method took 5 lines of code, we would have a…