Register
Submit a solution
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...
We have released version 1 of the app to some employees, and version 2 is nearing completion.  As we add more and more functionality, we need to ensure that the existing functionality isn't broken by any new changes.

This challenge will clean up the tests, make them more consistent, and will move the configuration to separate files to make management easier.

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.

Requirements:

These tickets comprise the requirements:

https://gitlab.com/hercules-retail-toolkit/ios/issues/1089
https://gitlab.com/hercules-retail-toolkit/ios/issues/1090
https://gitlab.com/hercules-retail-toolkit/ios/issues/1091
https://gitlab.com/hercules-retail-toolkit/ios/issues/1092
https://gitlab.com/hercules-retail-toolkit/ios/issues/1093
https://gitlab.com/hercules-retail-toolkit/ios/issues/1094



  
Test data

We want all tests to run for all targets.  Please let me know right away if there are test account details needed and I'll do my best to track some down for you.

Not in scope

Currently, we don't have a reliable way of getting inactive devices, so we can leave out anything that requires that, like testing the removal flow and testing adding a disabled device.

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, if needed.

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

ID: 30058516