Giter VIP home page Giter VIP logo

Comments (5)

arkivanov avatar arkivanov commented on May 24, 2024 1

Thanks! If I understand it correctly, the issue is a bit different. It looks like kotlin-test-junit conflicts with kotlin-test-junit5. The former is used by reaktive-testing, the latter perhaps used in your project.

You can try using kotlin-test-junit instead if that's an option. Otherwise it should be possible to exclude it as follows:

implementation("com.badoo.reaktive:reaktive-testing:1.2.2") {
    exclude("org.jetbrains.kotlin", "kotlin-test-junit")
}

I have found similar issue: https://youtrack.jetbrains.com/issue/KT-46090

@CherryPerry what do you think about this issue?

from reaktive.

arkivanov avatar arkivanov commented on May 24, 2024

Thanks for the report! What Kotlin and Reaktive versions are you using?

from reaktive.

darky avatar darky commented on May 24, 2024

Reaktive: 1.2.2
Kotlin: 1.7.10

from reaktive.

CherryPerry avatar CherryPerry commented on May 24, 2024

@arkivanov Looks like you are right, I do not think we can solve the issue other than ditching kotlin-test from transitive dependencies. We do not use any advanced functionality, so we can implement all assertion methods manually by throwing AssertionError like RxJava does. Gradle should be fine, but not sure about JS tests, better to check in the corresponding PR.

from reaktive.

arkivanov avatar arkivanov commented on May 24, 2024

Thanks @CherryPerry ! I will try to get rid of kotlin-test-junit. This fix would be a good fit for v1.3.0.

from reaktive.

Related Issues (20)

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.