Giter Site home page Giter Site logo

kammerlo / yaci-cardano-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bloxbean/yaci-cardano-test

0.0 0.0 0.0 128 KB

Make Java app testing on Cardano blockchain a breeze with Yaci Cardano Test Java library.

License: MIT License

Java 100.00%

yaci-cardano-test's Introduction

Yaci Cardano Test

Make Java app testing on Cardano blockchain a breeze with Yaci Cardano Test Java library.

What is Yaci Cardano Test?

Yaci Cardano Test is a Java library that provides a simple way to test your Java Cardano application. It uses testcontainers to start a dev Cardano node in a docker container programmatically. It also provides a simple way to interact with the container in your test code through a Test Helper class and use Cardano specific assertions to verify the results.

Pre-requisites

How to use

Check this sample project https://github.com/bloxbean/yaci-cardano-test-sample

For more tests check the test pacakage in this project.

Dependencies

Maven dependencies

  <dependency>
     <groupId>com.bloxbean.cardano</groupId>
     <artifactId>yaci-cardano-test</artifactId>
     <version>0.0.1</version>
     <scope>test</scope>
  </dependency>

You also need to add following cardano-client-lib dependencies and also junit 5.

<dependency>
     <groupId>com.bloxbean.cardano</groupId>
     <artifactId>cardano-client-lib</artifactId>
     <version>0.4.3</version>
</dependency>
<dependency>
     <groupId>com.bloxbean.cardano</groupId>
     <artifactId>cardano-client-backend</artifactId>
     <version>0.4.3</version>
</dependency>
 <dependency>
     <groupId>org.junit.jupiter</groupId>
     <artifactId>junit-jupiter-engine</artifactId>
     <version>5.9.2</version>
     <scope>test</scope>
</dependency>

Gradle Dependencies

testImplementation "com.bloxbean.cardano:yaci-cardano-test:0.0.1"

Other dependencies

implementation "com.bloxbean.cardano:cardano-client-lib:0.4.3"
implementation "com.bloxbean.cardano:cardano-client-backend:0.4.3"

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.2'

yaci-cardano-test's People

Contributors

satran004 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.