Git Product home page Git Product logo

searchrnd's Introduction

SearchRnD

A sample android application to test fetching and subsequtent parsing of JSON Objects from various open API across the web. Also aims to find the quickest and/or most efficient memeoy efficient

Candidates HTTP Client Librraires :

  1. Native android Http Reqest
  2. Volley
  3. Retrofit
  4. Wasp

Candidates for JSON prasing:

  1. Native Json Parsing
  2. LoganSquare
  3. Gson
  4. fastJSON

searchrnd's People

Contributors

thescud avatar

Watchers

James Cloos avatar  avatar HariKrishnan avatar

searchrnd's Issues

Set Up a Testing Framework

Go Through the various testing framework . See steps for set up and samples for writing various tests

Choose a test framework based one :
a. readability of test and assertion statement .
b. UI automation testing support
c. Code coverage.

Automated UI Testing

Write testing with an automated ui Testign framework , Preferably something like roboelectric that don't run on simulator.

  1. Test location and visibility of button
  2. Check if activity indicator is being shown
  3. Check if the data model is properly being represented by list items

Test Search API handler

  1. Write test for input validation
  2. Write test to handle valid search query and invalid search query
    3 .Test Api layer with a model object from network layer to simulate network errors

Unit testing attempt one

  • Set Up test suite using Robospock/Roboelectic
  • write first Unit Test to test the following operations
    1. whether Http Class handle/ pass on both error and success conditions
    2. successfully run the test suite

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.