Skip to main content

Posts

Showing posts from May, 2017

Command Box and Jet Brains IntelliJ

My last post was about the new feature Testbox Watch which is in the latest version of Command Box. I wrote that it was probably a good idea to have two CommandBox windows open but with CB, my IDE, Photoshop, my project site, XKCD etc, the number of windows open is adding up quickly. For the last two years I've been using IntelliJ by JetBrains and recently discovered the concept of external tools but didn't really have one to use. I wondered if I could get rid of the "Testbox Watch" window in my previous post about that feature . My Folder Set up: root       runner.cfm       tests            test1.cfc            test2.cfc       testbox After a couple of false starts, some working but kludgy starts involving running .boxr files I came upon the following solution. Here is my package output from CommandBox: package show {     "dependencies":{         "testbox":"be"     },     "installPaths":{         "te

New Testbox Feature - Watch

This week, Brad Wood from Ortus Solutions posted a video to the company YouTube Channel ( https://www.youtube.com/watch?v=7k2vXl8FQ24&feature=youtu.be )  about some of the new features in TestBox and CommandBox. One was the improved reporting with Testbox from CommandBox and some of the options involved. The other was a brand new feature for CommandBox itself and its integration with TestBox: Testbox Watch. If you've never used watchers in other tools such as Grunt, the concept is simple. The program "watches" the files in the folder and, when one is changed, it responds in a pre-ordained way. This could be rendering it, running a script or, in this case, running your TestBox test suites. 1. To test it out you need to have the latest version of CommandBox. Open CommandBox type upgrade --latest You might get the message that you can't upgrade automatically but you will receive the URL to do it manually.  Install the latest version.  Open CommandBox to co