cloudfoundry/brats

Name: brats

Owner: Cloud Foundry

Description: Buildpack Runtime Acceptance Tests

Created: 2015-03-11 13:29:26.0

Updated: 2018-04-23 13:46:19.0

Pushed: 2018-02-14 14:45:02.0

Homepage:

Size: 9536

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Buildpack Runtime Acceptance Tests
Deprecation

This repo is in the process of being replaced by brats tests inside each buildpack repo. To run BRATs tests we recommend using those new tests. As an example, to run BRATs for the ruby buildpack:

r -p ~/workspace
/workspace

clone https://github.com/cloudfoundry/ruby-buildpack.git
/workspace/ruby-buildpack

pi api.cf-deployment.com

ripts/brats.sh
Functionality

Test that the compiled binaries of the buildpacks are working as expected.

Usage

Example of testing the Ruby buildpack:

r -p ~/workspace
/workspace

clone https://github.com/pivotal-cf/brats
/workspace/brats
le install

pi api.cf-deployment.com

c cf_spec/integration/ruby_spec.rb --tag language:ruby --tag buildpack_branch:develop

Note that the appropriate language tag is required to run the full BRATS suite for the specified buildpack. The interpreter matrix tests will not execute unless the tag for the appropriate interpreter is passed into the rspec arguments.

It is required to specify a git branch of the buildpack to test against. This is done by passing --tag buildpack_branch:<git branch> to rspec.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.