Skip to content

pixl8/github-action-box-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github action: Box Test

This GitHub Action runs a Commandbox + Testbox based test suite for your project.

Usage in Github actions workflow

steps:
  - name: Run tests
    uses: pixl8/github-action-box-test@v3
    with:
      boxjson_dir: /subdir
      test_dir: /tests
      test_server_json: /tests/server.json
      output_file: /tests/test-results.txt
      verbose: false

Inputs

boxjson_dir

The subdirectory in your project where your box.json file lives. The default is to use the root folder. This box.json should define a testbox section.

test_dir

Root directory of your tests. We will start a box server from here. Default is /tests.

test_server_json

server.json file for your test server. Default is ${test_dir}/server.json

output_file

A file path with which to output results.

verbose

Whether or not to output all test results, or only a summary and failures. Defaults to false (only summary and failures).

License

This project is licensed under the GPLv2 License - see the LICENSE.txt file for details.

Authors

The project is maintained by The Pixl8 Group. The lead developer is Dominic Watson.

Code of conduct

We are a small, friendly and professional community. For the eradication of doubt, we publish a simple code of conduct and expect all contributors, users and passers-by to observe it.

About

Runs tests defined in testbox section of a box.json file

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published