Systers Community

Use Roboelectric to create test for 'About' button in android application

Prerequisite:

Clone and Build Powerup application Github Repo Fetch the latest version of code from branch "GSoC17"

Steps:

  • Read about Robolectric Unit tests at this link
  • Create a unit test that asserts that when a user clicks on a About Button, the app launches the AboutActivity

Resources:

  • Read fundamental of testing at this link
  • Ask any questions or directions in the #powerup on Systers Open Source Slack. Mention @geekanamika if you need help on this task

Work Submission:

  • Create a pull request with test file , provide link of PR in comment section before submitting
  • Screenshot of sucessful test run

Task tags

  • android
  • powerup
  • testing
  • robolectric

Students who completed this task

Sameer, Mu'aaz Kasker, Valentun, Aryaman Agrawal, Fidella, Yuyuan Luo, Nihar Thakkar

Task type

  • code Code
  • done_all Quality Assurance
close

2017