Key Information

Register
Submit
The challenge is finished.

Challenge Overview

The Retail 360 iOS App is a tool used by Hercules employees in their retail stores.  The app allows for looking up customer details and will eventually contain lots of functionality for managing customer accounts, making changes to their accounts, and adding notes, sending emails, etc...

Currently, we use a system call CSP to search for and manage customer data.  This challenge will work at moving to a new service called CXP.


Requirements:

This ticket covers the requirements for this challenge.  

https://gitlab.com/hercules-retail-toolkit/ios/issues/943���

In summary, you will:
* Add a new CXP service to the base libraries
* Add new unit tests to the base libraries to cover CXP
* Integrate CXP into the 3 places mentioned (customer search, customer profile screen, bill comparison)

If you have specific questions about how to get to some of those areas in the app, please let me know in the forum.

Coverage:

Proper coverage is required, of positive and negative test cases.  The reviewers should ensure that the coverage report can be run and that the coverage % is appropriate for the functionality tested.

Any existing tests that fail are out of scope.

  
Test data

Test data from the base library unit tests can be reused for this challenge, and specific test details are also provided in the Gitlab ticket.

Note that your tests should be able to be run in any state of a given test account, according to the data above. 

Helpful links:

https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/09-ui_testing.html
https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/07-code_coverage.html
* http://cleanswifter.com/measuring-swift-code-coverage/
https://developer.apple.com/videos/play/wwdc2015/410/
http://mgrebenets.github.io/mobile%20ci/2015/09/21/code-coverage-for-ios-xcode-7
 
Submission format

Your submission should be provided as a Git patch file against the commit hash mentioned in the forum.  MAKE SURE TO TEST YOUR PATCH FILE!

No video is required for this challenge.

A separate UNIT_TESTS_README.md exists in Git.  It should be updated for this challenge to include the added unit tests for CXP.

Coverage report

Please provide a coverage report as part of your submission

Video

No video is required for this challenge


Final Submission Guidelines

Please see above.

ELIGIBLE EVENTS:

2017 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30057815