Make a Simple Lita Handler Skill to Use as a Test Driver

The ship-to-pastebin extension appears to work as tested, but you’ll want to integrate it with a Lita handler skill to make sure its interface is appropriate for regular Lita work. To that end, there’s an entire sample Lita skill in the code/lita-ship-to-pastebin folder that comes with this book named Bigtext. Bigtext is an only-useful-for-teaching-purposes skill that randomly generates long strings of words and pastes them into your chatroom. This is the perfect test bed to prove the value of the hide-it-in-Pastebin approach. Think of it as Lorem Ipsum for Lita skill testing.

Since Bigtext is merely a demonstration skill with little value as a standalone skill, you can skip the lita handler ...

Get Build Chatbot Interactions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.