Hercules Personal Content DVR iOS Unit Tests - Basic login and home page validation

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

The Hercules Personal Content DVR application will be used to expand the Hercules Player app, allowing users to upload their own video content they recorded on their iPhone or iPad camera into their DVR for playback on their TV and syncing with other devices.

This competition will implement Kif tests for the standalone version of the app.

This is the first test case competition for this particular application, so it will lay the groundwork for future competitions.

Test scenarios

The forum contains test scenarios and an ARS.  We are going to implement functional test cases listed below.

Note that the test cases must cover iPhone / iPad

https://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode_Overview/UnitTestYourApp/UnitTestYourApp.html

Simulator testing

Changes have been made to the codebase to ensure it runs in the simulator.  The app in the simulator is configured to login with "test/test" - anything else will show an invalid username and password.  Once logged in, the app in the simulator will display information and albums for ndvrfox4.

Required test cases

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 29
  • 30
  • 32
  • 33
  • 35
  • 37
  • 38
  • 39
  • 43
  • 45
  • 47
  • 48
  • 49

 

Versions

Please target OS X server 10.9 and XCode 5.

KIF

We use the KIF framework for the tests:

https://github.com/kif-framework/KIF

Naming convention

Please make sure the name of the test includes the test scenarios number and a short description so we can easily see and reference what scenario exactly is failing during regression testing.

Conflicts

If there are any test scenarios that conflict with the existing code, we will follow the existing code, not the scenario.  Note that the login process has changed dramatically since the test scenarios were completed.  The app now has a native login screen and there are no longer the 3 welcome screens referenced in the scenarios.

Code modifications

You are allowed to modify the code to include accessibility elements to make unit tests easier, but you are *not* allowed to edit any functionality without approval in the forum.

Documentation

Step by step deployment documentation is critical for this application.  Your deployment documentation must be thorough and include clear setup information to aid the copilot and reviewers.

 



Final Submission Guidelines

Technology overview

* XCode 5
* iOS 6+
* iPad 2+
* KIF


Existing Documents

  • Existing code - in the forum
  • Test scenarios - in the forum
  • ARS - in the forum

 

ELIGIBLE EVENTS:

2014 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30041195