<commit_before>[![Stories in Ready](https://img.shields.io/waffle/label/ctco/cukes/ready.svg?label=Ready&style=flat)](https://waffle.io/ctco/cukes)
[![Join the chat at https://gitter.im/ctco/cukes](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ctco/cukes?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![wercker status](https://app.wercker.com/status/91bd08250ec1cee694c8d0e5c95f85ce/s/master "wercker status")](https://app.wercker.com/project/byKey/91bd08250ec1cee694c8d0e5c95f85ce)
[![Maven](https://img.shields.io/maven-central/v/lv.ctco.cukes/cukes-rest-all.svg)](http://search.maven.org/#search|ga|1|lv.ctco.cukes)

# ![cukes-rest logo](assets/cukes-rest-logo.png)
**cukes-rest** takes simplicity of **Cucumber** and provides bindings for HTTP specification. As a sugar on top, **cukes-rest**
adds steps for storing and using request/response content from a file system, variable support in .features, context 
inflation in all steps and a custom plug-in system to allow users to add additional project specific
content. 

## Resources
- [Wiki](https://github.com/ctco/cukes/wiki)
- [Samples](https://github.com/ctco/cukes/wiki/Test-Samples)
- [Open Issues](https://github.com/ctco/cukes/issues)
- [Waffle](https://waffle.io/ctco/cukes)

## Sample Test

```gherkin
Feature: Gadgets are great!

  Background:
    Given baseUri is http://my-server.com/rest/

  Scenario: Should create another Gadget object
    Given request body from file gadgets/requests/newGadget.json
    And content type is "application/json"
<commit_msg>Fixed maven central badge (#85)<commit_after>[![Stories in Ready](https://img.shields.io/waffle/label/ctco/cukes/ready.svg?label=Ready&style=flat)](https://waffle.io/ctco/cukes)
[![Join the chat at https://gitter.im/ctco/cukes](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ctco/cukes?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![wercker status](https://app.wercker.com/status/91bd08250ec1cee694c8d0e5c95f85ce/s/master "wercker status")](https://app.wercker.com/project/byKey/91bd08250ec1cee694c8d0e5c95f85ce)
[![Maven](https://img.shields.io/maven-central/v/lv.ctco.cukes/cukes-parent.svg)](http://search.maven.org/#search|ga|1|lv.ctco.cukes)

# ![cukes-rest logo](assets/cukes-rest-logo.png)
**cukes-rest** takes simplicity of **Cucumber** and provides bindings for HTTP specification. As a sugar on top, **cukes-rest**
adds steps for storing and using request/response content from a file system, variable support in .features, context 
inflation in all steps and a custom plug-in system to allow users to add additional project specific
content. 

## Resources
- [Wiki](https://github.com/ctco/cukes/wiki)
- [Samples](https://github.com/ctco/cukes/wiki/Test-Samples)
- [Open Issues](https://github.com/ctco/cukes/issues)
- [Waffle](https://waffle.io/ctco/cukes)

## Sample Test

```gherkin
Feature: Gadgets are great!

  Background:
    Given baseUri is http://my-server.com/rest/

  Scenario: Should create another Gadget object
    Given request body from file gadgets/requests/newGadget.json
    And content type is "application/json"

{'fraction_non_alphanumeric': 0.1529709228824273, 'fraction_numerical': 0.025284450063211124, 'mean_word_length': 5.230314960629921, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2028526', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1124, 'n_words': 208}