Coder Social home page Coder Social logo

assertj-arrow-core's Introduction

Hi ๐Ÿ‘‹, I'm Riccardo

A passionate backend developer, teacher, and blogger from Italy

  • ๐ŸŒฑ Iโ€™m currently learning Functional programming in Scala/Kotlin

  • ๐Ÿ“ I regularly write articles on Rock The Jvm blog, but I've also wrote on Baeldung. Check out all my articles on my blog

  • ๐Ÿ‘€ Check out my libraries published on Maven Central Repository:

    • Raise4s, direct-style Scala library to handle logic typed errors. It's a port from Kotlin of the Arrow Kt Raise[E] context
    • Kafkaesque ๐Ÿ›, a testing library for applications built on top of Kafka
    • Kactor ๐ŸŽญ, a prototype library implementing the actor model in Kotlin
    • Arrow/AssertJ Integration ๐Ÿงช, a library that adds to AssertJ a bunch on assertion for Either and Option type from Arrow Kt
  • ๐Ÿ’ฌ Ask me about Java, Spring, Scala, Cats (still learning), ZIO (still learning), Akka, and Kotlin

  • ๐Ÿ“„ Know about my experiences https://www.linkedin.com/in/riccardocardin/

Connect with me:

riccardo_cardin riccardo_cardin riccardocardin riccardo.cardin @riccardo_cardin riccardo_cardin http://blog.rcard.in/feed.xml

Languages and Tools:

docker elasticsearch java jekyll jenkins kafka kotlin linux mongodb oracle postgresql postman scala spring travisci

rcardin

ย rcardin

assertj-arrow-core's People

Contributors

rcardin avatar renovate[bot] avatar sfreezer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

assertj-arrow-core's Issues

Add a `get()` method to the assertions on `Option<T>`

Taking as an example the assertj core library, add a get() method to the AbstractOptionAssert class. The method will return an AbstractObjectAssert if the Option is not empty.

In this way, all the assertions available on objects will also be public, having an Option<T> as a starting point.

Add `getRight()` and `getLeft()` methods to the assertions on `Either<E, A>`

Taking as an example the assertj core library, add getRight() and getLeft() methods to the AbstractEitherAssert class. The methods will return an AbstractObjectAssert if the Either<E, A> is a Right<A> or a Left<E>, respectively.

In this way, all the assertions available on objects will also be public, having an Either<E, A> as a starting point.

Add assertions on `Raise<E>`

Arrow Kt added the support for the Raise<E> context since version 1.2.0. Writing tests of functions defined in a Raise<E> context is challenging.

Please add some support for it.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • actions/setup-java v1
.github/workflows/release.yml
  • actions/checkout v4
  • actions/setup-java v3
maven
pom.xml
  • org.assertj:assertj-core 3.25.3
  • org.jetbrains.kotlin:kotlin-stdlib 1.9.22
  • io.arrow-kt:arrow-core 1.2.1
  • org.junit.jupiter:junit-jupiter-api 5.10.2
  • org.junit.jupiter:junit-jupiter-engine 5.10.2
  • org.jetbrains.kotlin:kotlin-test 1.9.22
  • org.apache.maven.plugins:maven-deploy-plugin 3.0.0
  • org.apache.maven.plugins:maven-compiler-plugin 3.10.1
  • org.apache.maven.plugins:maven-javadoc-plugin 3.2.0
  • org.apache.maven.plugins:maven-source-plugin 3.2.1
  • org.jetbrains.kotlin:kotlin-maven-plugin 1.9.22
  • org.apache.maven.plugins:maven-surefire-plugin 3.2.5
  • org.jetbrains.dokka:dokka-maven-plugin 1.9.0
  • org.apache.maven.plugins:maven-source-plugin 3.2.1
  • org.jreleaser:jreleaser-maven-plugin 1.5.1

  • Check this box to trigger a request for Renovate to run again on this repository

Release

Hey @rcardin,
I tried to publish the version on maven, but failed because I don't have the rights to push to this repo.

mvn release:prepare (failed by doing this -> )
'git' 'push' 'ssh://github.com:rcardin/assertj-arrow-core.git' 'refs/heads/main:refs/heads/main'

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.