Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Upgrade to Robolectric 2.2 #973

Description

@WonderCsabo

We are using Robolectric 1.1, which is a pretty outdated version. Since then Robolectric changed a lot, now uses real android code, instead of relying only on Shadow classes which mean much more things can be mocked, provides automatic Activity and Fragment lifecycle managent, more convenient API, etc
To make writing tests easier, we should switch to 2.2, but that means all of our functional tests should be rewritten.

Activity

  1. DayS commented on Apr 22, 2014

    @DayS
    Contributor

    It might be a good idea 👍

  2. added this to the 3.1 milestone on Apr 22, 2014
  3. WonderCsabo commented on Apr 22, 2014

    @WonderCsabo
    MemberAuthor

    To be honest, i already starting poking about the tests and converting them to 2.2. :) I'll try to finish them all and wrap up a PR. Some of them are little tricky, so i notify you on my PR issue if i need assistance.

  4. DayS commented on Apr 22, 2014

    @DayS
    Contributor

    Great :)

  5. WonderCsabo commented on May 2, 2014

    @WonderCsabo
    MemberAuthor

    I am working on this issue, i am done with most of the tests. Some problems, what i cannot fix in this task:

  6. modified the milestones: Someday, 3.1 on May 11, 2014
  7. modified the milestones: 3.1, Someday on May 31, 2014
  8. DayS commented on May 31, 2014

    @DayS
    Contributor

    This one is finally merged. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions