GithubHelp home page GithubHelp logo

ericfan / chocotea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cleopatra27/chocotea

0.0 0.0 0.0 424 KB

A library that generates postman collection and integration tests from java code

License: Apache License 2.0

Java 100.00%

chocotea's Introduction

ChocoTea ☕️

⭐ Star on GitHub — it motivates a lot!

Chocotea is a library that generates postman collection, environment and integration tests from java code.

The aim of chocotea is to help reduce the amount of time it takes to setup a postman collection with requests and tests manually. It also helps with sharing API codebase(s), new developers can generate a postman collection for their changes.

Chocotea runs at compile, generates collection json file and works with:

This can be used with more than one controller on any or all the supported libraries, however, they need to have different collection names.

Snap

Installation

Maven

    <dependency>
        <groupId>io.chocotea</groupId>
        <artifactId>chocotea</artifactId>
        <version>1.0EE</version>
    </dependency>

gradle

Add this dependency to your project's build file:

compile("io.chocotea:chocotea:1.0")

Usage (Annotations)

This library runs on compile, after which your collection and environment json files are stored in your-project-folder/target/generated-sources/annotations

Sample collection HERE Sample environment HERE

Language

This is the list of languages that can be passed to the request. The default is json and options are:

    text,
    json,
    javascript,
    html,
    xml

Auth

This is the list of auth type that can be passed to the request. The default is noauth and options are:

    apikey,
    awsv4,
    basic,
    bearer,
    digest,
    edgegrid,
    hawk,
    noauth,
    oauth1,
    oauth2,
    ntlm

chocotea's People

Contributors

cleopatra27 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.