New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-coldfusion-tester

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-coldfusion-tester

Module to test coldfusion applications using testbox framework

latest
Source
npmnpm
Version
1.1.8
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source

node-coldfusion-tester

Fast automated tests for ColdFusion projects using TestBox

Video demonstration here...

IMAGE ALT TEXT HERE

Prerequisites: TestBox

You will need TestBox installed in the webroot of your coldfusion server.

Install the package globaly

npm install -g node-coldfusion-tester

Setting up a ColdFusion project to use this tool

Navigate to your project folder in your terminal of choice and type:

cftester --init

You will be asked some questions:

prompt: The host running your ColdFusion:  (http://localhost:8500)
prompt: Path from the host to the root of your ColdFusion project:  some/path
prompt: Name of the folder in your project that contains the tests:  (test)
prompt: List of folders inside your test folder containing different kinds of tests (e.g. integration and unit):  (spec,unit)
prompt: Path from the host to the test runner:  (testbox/system/runners/HTMLRunner.cfm)
prompt: Suffix to be used for test files:  (Spec)
prompt: List of folders in your project to be ignored from watching. This supports anytime matchers (https://github.com/es128/anymatch): (**/testbox/**)

This in turn will create a cf-tester-config.json file in the current folder containing:

{
  "host": "http://localhost:8500",
  "basePath": "some/path",
  "testFolder": "test",
  "testTypes": [
    "spec",
    "unit"
  ],
  "testRunner": "testbox/system/runners/HTMLRunner.cfm",
  "testFileSuffix": "Spec",
  "ignored": [
    "**/testbox/**"
  ]
}

Start watching your files

In the terminal you can now type:

cftester

And the system will start watching your files for changes and run relevant tests as you save your edits.

Keywords

coldfusion

FAQs

Package last updated on 14 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts