Menu

605 label words are a promise our test suite enforces, and the sharper half of it asserts silence
πŸ“°

605 label words are a promise our test suite enforces, and the sharper half of it asserts silence

DEV Community: nodeΒ·Daniel PertuΒ·3 days ago
#kmnIY4Bs
#devtonodejs#devto#dev#test#word
Reading 0:00
15s threshold

Munchable reads an ingredients label and tells you whether the product suits a digestive condition you have. Like anything of that shape, it has an honest fallback for things it has no information about, which amounts to "not assessed".

"Not assessed" is a perfectly good answer for an obscure ingredient. It is a terrible answer for an ingredient the condition is about . Three real examples, all of which happened:

someone with lactose intolerance scanning kefir

someone with IBS scanning a pack whose label says soya

someone with reflux scanning tea

Each came back "not assessed" once. Each is precisely the user the app exists for, being told nothing. None of them was a crash, a failing test or a log line.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.