Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 2.3 KB

readme.md

File metadata and controls

51 lines (30 loc) · 2.3 KB

Welcome to the ContentBox Test Suite

Copyright Since 2005 ContentBox Modular CMS by Luis Majano and Ortus Solutions, Corp www.contentboxcms.org | www.ortussolutions.com


Because of God's 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. And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us. ." Romans 5:5


Instructions

This folder contains a full suite of BDD specs, load tests and much more. Here are some instructions on how to get the test suites to run in your development environment.

Get CommandBox

We leverage CommandBox to build ColdBox and its libraries. You can download it from our main website here: http://www.ortussolutions.com/products/commandbox.

Install Dependencies

Once CommandBox is installed go into the root of the project and type: box install. This will download all required dependencies and test dependencies for you.

Startup Test Server

Startup the test server via the following command: box server start. This will startup a server that you can use for development, hacking and testing.

Note: The server will start in a specific port (currently 8589), make sure you take note of it.

Create Testing Datasource

ColdBox requires a datasource connection in order to be able to provide testing capabilities for integration. Please open the CFML administrator and create a datsource called coolblog and populate it with our SQL script that can be found here: /coldbox/tests/resources/coolblog.sql.

Lucee Optional: Default Cache

If you are in the Lucee CFML engine, then you will need to register a default cache in the administrator so CacheBox can be tested.

Test Harness

We also deliver a ColdBox application that is used for integration testing and so much more. This is found under /coldbox/test-harness which also needs access to the coolblog datasource.

Happy Coding and Contributing!