Blog

TestBox v5.3 Release

Luis Majano August 01, 2023

Spread the word

Luis Majano

August 01, 2023

Spread the word


Share your thoughts

We are thrilled to announce the release of TestBox v5.3, the latest version of our powerful and flexible testing framework for ColdFusion (CFML) applications. In this release, we have focused on enhancing your testing experience by introducing new features and addressing bugs to ensure a smoother testing process. Let's dive into the exciting changelogs for TestBox v5.3:

New Features

  1. toBeIn() and toBeInWithCase() Expectations

    • TESTBOX-379
    • These new expectations allow you to verify the presence of a needle within a string or an array target. With the toBeIn() expectation, you can easily check if the expected needle exists in the target. Additionally, toBeInWithCase() performs a case-sensitive check for the needle in the target. These powerful expectations enhance your testing capabilities and streamline the validation of data within your tests.
  2. New Matchers and Assertions for String Start

    • TESTBOX-380
    • With these new matchers and assertions, namely toStartWith(), toStartWithCase(), startsWith(), and startsWithCase(), you can validate whether a string begins with an expected prefix. These matchers come with their appropriate negations, allowing you to easily test and verify the starting points of strings in your application.
  3. New Matchers and Assertions for String End

    • TESTBOX-381
    • TestBox v5.3 introduces powerful matchers for checking the end of strings. The new matchers include toEndWith(), toEndWithCase(), endsWith(), and endsWithCase(). These matchers enable you to confirm the presence of an expected suffix in a given string, making it convenient to test the endings of strings during your test suite executions.

Bug Fixes

  • onSpecError suiteSpecs Correction
    • TESTBOX-378
    • In previous versions, there was a minor issue with onSpecError, where the suiteSpecs attribute was mistakenly referred to as suiteStats. With TestBox v5.3, we have fixed this bug, and the attribute is now correctly recognized as suiteSpecs. This ensures that error reporting and handling in your test suites function as expected, providing you with accurate and helpful feedback during testing.

With these exciting new features and the bug fix, TestBox v5.3 empowers you to create more comprehensive and robust test suites for your ColdFusion (CFML) applications. Whether you are an experienced developer or just starting with TestBox, these enhancements will undoubtedly boost your testing productivity and provide you with more confidence in the quality and reliability of your code.

To get started with TestBox v5.3, you can visit the official TestBox Docs to access the documentation and to download the latest version just use CommandBox install testbox --saveDev and you are ready to roll.

We hope you enjoy using TestBox v5.3 as much as we enjoyed developing it. Your feedback and contributions are invaluable to us, so please don't hesitate to reach out on our GitHub repository with any suggestions or bug reports.

Happy testing!

Add Your Comment

Recent Entries

The Hidden Costs of In-House Database Management

The Hidden Costs of In-House Database Management

The Hidden Costs of In-House Database Management


Opting for in-house database management involves more than just a salary. Here are some often-overlooked costs associated with maintaining your own DBA team.



1. High Salaries and Benefits


Hiring skilled DBAs is expensive. According to industry reports, the average salary of a DBA in the U.S. can range from $85,000 to over $130,000 per year, depending on experience and expertise. When you add ...

Cristobal Escobar
Cristobal Escobar
November 20, 2024
5 Signs It’s Time to Modernize Your ColdFusion / CFML Application

5 Signs It’s Time to Modernize Your ColdFusion / CFML Application

ColdFusion has long been a reliable platform for building web applications, but like any technology, it requires maintenance and modernization over time. Whether you're using Lucee or Adobe ColdFusion, it’s critical to recognize the signs that your application is no longer meeting today’s standards in performance, security, and scalability. Let’s explore five clear indicators that it’s time to modernize your ColdFusion application and how ColdFusion consulting can help breathe new life into y...

Cristobal Escobar
Cristobal Escobar
November 19, 2024
ColdBox Free Tip 5 - Building Named Routes with a Struct

ColdBox Free Tip 5 - Building Named Routes with a Struct

**Did you know ColdBox provides flexible ways to build routes using structs?** In this tip, we’ll cover how to use the `event.buildLink()` and `event.route()` methods for named routes, a feature that’s especially handy when working with dynamic URLs.

Maria Jose Herrera
Maria Jose Herrera
November 19, 2024