TestBox : Behavior Driven Development (BDD)
API DocsSourceSupportBoxLang
v4.x
v4.x
  • Introduction
  • Intro
    • Release History
      • What's New With 4.5.0
      • What's New With 4.4.0
      • What's New With 4.3.0
      • What's New With 4.2.x
      • What's New With 4.1.0
      • What's New With 4.0.0
    • About This Book
      • Author
  • Getting Started
    • Overview
    • Installation
      • IDE Tools
  • Primers
    • TestBox BDD Primer
      • Bundles: Group Your Tests
      • Suites: Describe Your Tests
        • Dynamic Suites
      • Specs
      • Expectations
      • Suite Groups
        • Given-When-Then Blocks
      • Life-Cycle Methods
      • Specs and Suite Labels
      • Skipping Specs and Suites
      • Focused Specs and Suites
      • Spies & Mocking
      • Asynchronous Testing
      • Running Tests
      • Reporters
    • TestBox xUnit Primer
      • RefCard
      • Requirements
      • Bundles: Group Your Tests
      • Test Methods
      • Assertions
      • Setup and Teardown
      • Test and Suite Labels
      • Skipping Tests and Suites
      • Spies and Mocking
      • Asynchronous-Testing
      • Running Tests
      • Reporters
  • In-Depth
    • Testing Styles
    • Test Bundles
      • Optional Inheritance
      • Injected Variables
      • Injected Methods
    • Life-Cycle Methods
      • BDD
      • xUnit
      • Annotations
    • Suites, Tests & Specs (Oh My!)
      • xUnit
      • BDD
    • Assertions
      • Custom Assertions
    • Expectations
      • Matchers
      • Not Operator
      • Expecting Exceptions
      • Custom Matchers
    • Output Utilities
    • Running Tests
      • Run Listeners
      • Global Runner
      • Test Browser
      • Bundle(s) Runner
      • Test Runner
      • Directory Runner
      • SOAP Runner
      • HTTP REST Runner
      • ANT Runner
      • NodeJS Runner
    • Reporters
      • Custom Reporters
    • MXUnit Compatibility
  • Mocking
    • MockBox
      • What is Mocking?
      • Our Approach and Benefits
      • Creating MockBox
      • Creating a Mock Object
      • Creating a Stub Object
      • Mocking Methods
        • $() Method
        • $property() Method
        • $getProperty() Method
        • $results() Method
        • $args() Method
        • $throws() Method
        • $querySim() Method
      • Verification Methods
        • $count()
        • $times() or $verifyCallCount()
        • $never()
        • $atLeast()
        • $once()
        • $atMost()
        • $callLog()
        • $reset()
        • $debug()
      • Some Examples
      • Conclusion
    • Mocking Data
  • Code Coverage
    • Introduction
    • Running Code Coverage
    • Configuring Code Coverage
    • Known Behaviors
  • Continuous Integration
    • Introduction
    • Github Actions
    • Gitlab
    • Travis
Powered by GitBook

Social Media

  • YouTube
  • x
  • FaceBook
  • LinkedIn

Downloads

  • CommandBox
  • BoxLang
  • Try BoxLang

Support

  • Professional
  • Community
  • Slack
  • CFCasts

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC

On this page
  • TestBox BDD v4.x
  • Features At A Glance
  • Versioning
  • License
  • Discussion & Help
  • Reporting a Bug
  • Professional Open Source
  • Resources

Was this helpful?

Edit on GitHub
Export as PDF

Introduction

NextRelease History

Last updated 4 years ago

Was this helpful?

TestBox BDD v4.x

TestBox is a next generation testing framework for ColdFusion (CFML) that is based on (Behavior Driven Development) for providing a clean obvious syntax for writing tests. It contains not only a testing framework, runner, assertions and expectations library but also ships with MockBox, A mocking and stubbing companion. It also supports xUnit style of testing and MXUnit compatibilities.

Features At A Glance

Here are a simple listing of features TestBox brings to the table:

  • BDD style testing

  • xUnit style testing

  • Code Coverage via FusionReactor

  • Testing life-cycle methods

  • Ability to extend and create custom test runners

  • Ability to extend and create custom test reporters

  • Extensible reporters, bundled with tons of them:

    • JSON

    • XML

    • JUnit 4 XML

    • Text (80's style)

    • Console

    • Simple HTML

    • Min - Minimalistic Heaven

    • Raw

    • CommandBox

  • Asynchronous testing

  • Multi-suite capabilities

  • Test skipping

  • Suite skipping

  • Dynamic skipping support via runtime executions

  • Test one or more suites exclusively

  • Test one or more tests/specs exclusively

  • Test labels and tagging

  • Testing debug output stream

  • Clickable suite titles to filter test execution

  • Much more!

Versioning

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)

  • New additions without breaking backward compatibility bumps the minor (and resets the patch)

  • Bug fixes and misc changes bumps the patch

License

  • Copyright by Ortus Solutions, Corp

  • TestBox is a registered trademark by Ortus Solutions, Corp

The ColdBox Websites, Documentation, logo and content have a separate license and they are a separate entity.

Discussion & Help

Reporting a Bug

Professional Open Source

  • Custom Development

  • Professional Support & Mentoring

  • Training

  • Server Tuning

  • Security Hardening

  • Code Reviews

Resources

HONOR GOES TO GOD ABOVE ALL

Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.

Therefore being justified by faith, we have peace with God through our Lord Jesus Christ: By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God. - Romans 5:5

integration for mocking and stubbing

for mocking json/complex data and relationships

TAP ()

TestBox is maintained under the guidelines as much as possible.Releases will be numbered with the following format:

TestBox and MockBox are open source and licensed under the License. If you use them please try to make mention of it in your code or web site.

Help Group :

BoxTeam Slack :

CFML Slack: Look for the box-products channel:

We all make mistakes from time to time :) So why not let us know about it and help us out. We also love pull requests, so please star us and fork us:

By Jira:

TestBox is a professional open source software backed by offering services like:

Official Site:

Current API Docs:

Help Group:

Source Code:

Bug Tracker :

Twitter:

Facebook:

MockBox
MockDataCFC
Test Anything Protocol
Semantic Versioning
Apache 2
https://groups.google.com/a/ortussolutions.com/forum/#!forum/testbox
https://boxteam.herokuapp.com
http://cfml.slack.com
https://github.com/Ortus-Solutions/TestBox
https://ortussolutions.atlassian.net/browse/TESTBOX
Ortus Solutions, Corp
Much More
https://www.ortussolutions.com/products/testbox
https://apidocs.ortussolutions.com/testbox/current
https://community.ortussolutions.com/c/communities/testbox/11
https://github.com/Ortus-Solutions/TestBox
https://ortussolutions.atlassian.net/browse/TESTBOX
@ortussolutions
https://www.facebook.com/ortussolutions
BDD
TestBox
Ortus Solutions, Corp