arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Introduction

hashtag
TestBox & MockBox Manual v2.x

TestBox

TestBox is a next generation testing framework for ColdFusion (CFML) that is based on BDDarrow-up-right (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.

hashtag
Features At A Glance

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

  • BDD style testing

  • xUnit style testing

  • Testing life-cycle methods

hashtag
Versioning

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

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

hashtag
License

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.

  • Copyright by Ortus Solutions, Corp

  • TestBox is a registered trademark by Ortus Solutions, Corp

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

hashtag
Discussion & Help

  • Help Group :

  • BoxTeam Slack :

  • CFML Slack: Look for the box-products channel:

hashtag
Reporting a Bug

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:

hashtag
Professional Open Source

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

  • Custom Development

  • Professional Support & Mentoring

  • Training

hashtag
Resources

  • Official Site:

  • Current API Docs:

  • Help Group:

hashtag
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

MockBoxarrow-up-right integration for mocking and stubbing
  • 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

    • TAP ()

    • 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!

  • Server Tuning
  • Security Hardening

  • Code Reviews

  • Much Morearrow-up-right

  • Source Code: https://github.com/Ortus-Solutions/TestBoxarrow-up-right

  • Bug Tracker : https://ortussolutions.atlassian.net/browse/TESTBOXarrow-up-right

  • Twitter: @ortussolutionsarrow-up-right

  • Facebook: https://www.facebook.com/ortussolutionsarrow-up-right

  • Semantic Versioningarrow-up-right
    Apache 2arrow-up-right
    https://groups.google.com/a/ortussolutions.com/forum/#!forum/testboxarrow-up-right
    https://boxteam.herokuapp.comarrow-up-right
    http://cfml.slack.comarrow-up-right
    https://github.com/Ortus-Solutions/TestBoxarrow-up-right
    https://ortussolutions.atlassian.net/browse/TESTBOXarrow-up-right
    Ortus Solutions, Corparrow-up-right
    https://www.ortussolutions.com/products/testboxarrow-up-right
    http://apidocs.ortussolutions.com/testbox/currentarrow-up-right
    https://groups.google.com/a/ortussolutions.com/forum/#!forum/testboxarrow-up-right
    Ortus Solutions, Corp
    <major>.<minor>.<patch>
    Test Anything Protocolarrow-up-right