Today's featured module is a TestBox module that introduces snapshot testing capabilities to TestBox. If you've avoided testing your legacy applications, come see how TestBox Snapshots can get you started.
We are very excited today to announce the immediate release of our first two extensions for Microsoft Visual Studio Code Our ColdBox Extension is very similar to our Sublime extension but better! I have to admit that VSCode is absolutely great and we have been able to not only release our collection of snippets but give you typeahead and scope recognition in this extension.
CF Summit 2017 was a lot of fun, lots of new faces, and good to meet friends, old and new alike. I really enjoyed the ColdBox 2 day training, RESTFul Training Bootcamp. I also enjoyed, Pete Freitag's Hands On CFML Security Workshop. It was fun, and terrifying at the same time. My session on 3 ways to test your ColdFusion API went well, lots of interest, and lots of discussion after the class. I am sharing my slides in this post, as well as a collection of other Video Presentations from previous presentations by myself, and others, which will help build upon the information presented.
Most projects in CF now involve creating some type of consumable CFC Endpoint or API Service... do you Unit test your API, do you use Integration Tests on your API? How many ways do you test your API? Not all tests are created equal.
At this year's CF.Objective I had the privilege to present on testing and automation. Here are the slides for the presentation and you can find the test source code in github: https://github.com/coldbox-samples/cbvue.
Using "testbox watch" to Automate Your Testing Suite
There is a new command in town in the CommandBox 3.7 snapshot build. If you want to get the current snapshot build of CommandBox 3.7 to try this out, and play with it, simply run the following command and it will direct you to the latest bleeding edge download page:
CommandBox> upgrade --latest
We are excited to announce the release of TestBox version 2.5.0. To install just do:
box install testbox --savedev
To upgrade your current testbox installation just run the following:
box uninstall testbox && install testbox --savedev
TestBox 2.5.0 is a minor release with some great new functionality and tons of fixes. You can find the release notes here and the major updates for this release. One of the biggest features for TestBox that was not part of TestBox, was the addition of TestBox Watchers to CommandBox.
An incredibly powerful feature of ContentBox 3 is the increasing availability of open source themes to jump start your custom development. For those wishing to contribute back to the community, creating your own theme is as simple as cloning one of our boilerplate themes, creating a new GitHub repo for your customizations, and publishing your theme on Forgebox.
This issue has comed up several times in our mailing lists, so why not expand a little with a blog post.
Many developers working with TestBox love the BDD approach to spec design. Once they get familiar with the syntax they start getting funky! It is just natural! Since they are coding within a CFC they decide to create dynamic
it() or specs by iterating o...
Are you writing APIs? Going to start writing APIs? Now is the time to start testing. Do it early, and often, and reap the benefits as the project grows. TestBox, the defacto CFML test suite, can help your test your API, whether it’s CFML or not.
I will assume you have the basic TextBox installation setup.