android java: help with unit testing (mockito) -- 2
$10-70 USD
Cancelled
Posted over 5 years ago
$10-70 USD
Paid on delivery
I'll send the requirements if you're interested.
i have much of the file built, but here is the gist of the guidelines:
PersonConversionUtil
The PersonConversionUtil class should be exercised with unit tests to ensure all proper functionality. Test inputs should be created based on the provided testing spec. All tests should pass. These tests will require a dependency that contains JSON so that your tests can utilize the JSON classes. Any dependency that contains the JSON classes may be used for this.
PersonFormatUtil
The PersonFormatUtil class should be exercised with unit tests to ensure all proper functionality. Test inputs are provided in the associated activity as are the expected outputs. Several methods in the PersonFormatUtil class need to have their code filled out to match the expected inputs and outputs. All unit tests should pass when run.
PersonStorageUtil
The PersonStorageUtil class should be exercised with instrumented unit/integration tests to ensure proper functionality. You will need to mock the Context class to pull a mocked file location as to not interfere with the application's production data.
PreferenceUtil
The PreferenceUtil class should be exercised with instrumented unit tests to ensure proper functionality. You will need to mock the Context and SharedPreferences classes to complete these tests. The mocked Context should return a mocked SharedPreferences. The mocked SharedPreferences should return the proper values based on the test cases listed to ensure the proper outputs.
Hi,
I have 6 years of experience in Web application development with Java. I have written groovy and spock testcases for all projects in Java. I am well suited for this Job.
Thanks,
Ashish