🔗 Approval Tests

Approval Tests - Home Unit testing asserts can be difficult to use. Approval tests simplify this by taking a snapshot of the results, and confirming that they have not changed. Interesting approach to testing using Combination Approvals: @Test public void upateQuality() throws Exception { CombinationApprovals.verifyAllCombinations( this::doUpdateQuality, new String []{"foo", "bar", "baz"}, new Integer []{-1, 0, 11}, new Integer[0, 1, 49, 50}); } private String doUpdateQuality(String name, int sellIn, int quality) { /*....

November 6, 2023 · 1 min · 115 words

🔗 Intro.js

User Onboarding and Product Walkthrough Library | Intro.js Intro.js is a lightweight JavaScript library for creating step-by-step and powerful customer onboarding tours Good way to announce and introduce new features to users.

August 31, 2023 · 1 min · 32 words

🔗 Custom UI Controls for iOS and Mac OS X – Cocoa Controls

Custom UI Controls for iOS and Mac OS X – Cocoa Controls Making an app? Don’t re-invent the wheel. Save time by using a control someone’s already written.

August 14, 2012 · 1 min · 28 words