Git Product home page Git Product logo

Comments (4)

herrbert74 avatar herrbert74 commented on June 23, 2024

Why was this closed? Is this possible at all? Having little experience with both Espresso and MvRx, I'm struggling to write my first Espresso test after switching to MvRx. FragmentScenario seems to be the wrong approach as the Activity needs to be MvRx specific. I couldn't make ActivityTestRule to work so far. Anybody could provide a basic example?

from mavericks.

elihart avatar elihart commented on June 23, 2024

With the latest release #311 it is not necessary to have a mvrx specific activity, so FragmentScenario should work fine.

You should be able to use espresso fine with mvrx - it's just a little tedious to set states which is being improved with #282

from mavericks.

herrbert74 avatar herrbert74 commented on June 23, 2024

Thanks, that's useful. I updated MvRx, but after all I managed to write tests with ActivityTestRule. We switched to Navigation components, modularization and Dagger at the same time, which made it a bit harder, that's all.

from mavericks.

vishalkumarsinghvi avatar vishalkumarsinghvi commented on June 23, 2024

@herrbert74 Can you please share your todomvrx test cases, I am looking for mvrx test case & I am not getting it..

from mavericks.

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.