Developer: “YESSS! My world-class widget test is ready to run.” (runs the test) Debug Console: “Expected to see 1 widget, found none.” Developer: What! Why, why, why!!! (figures out all async calls in the widget; spends 4Â hours re-reading about widget testing, exploring the source code of WidgetTester.pump()Â and setting up mock classes using Mockito.) Developer: “Muwaha […]
Tag: Error
Prevent Redis client from crashing your Node.js app
Posted on under Coding & Tech — 1 CommentRedis is a high-performance in-memory database that is often used for data caching on server-side. The redis npm package makes is nice & easy to use Redis to cache data in a Node app. If you are new to Redis, you will find this tutorial on Coligo helpful in implementing data caching in your own […]
Running opentaps in Windows
Posted on under Coding & Tech, Tutorials — Leave a commentSo I’m playing around with opentaps these days. It runs pretty neatly in Linux. Simply executing a shell script it comes with autostarts a built-in Tomcat server and runs the darn thing without a hitch. opentaps under Windows is another animal! Although opentaps comes with a similar batch script for Windows, the thing doesn’t run […]
Sencha Touch: Third-party plugins and build errors
Posted on under Coding & Tech, Tutorials — Leave a commentNothing beats Sencha Touch when it comes to sheer number of options and versatility in developing for the mobile. ST has truly set the benchmark of mobile development done right with each major release. It has a vibrant user community, and a robust enterprise adoption. But, sadly, although the documentation is good, it sometimes feels […]