cmatulessy / Issue-Tracker

Project to show how to parse a CSV file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue-Tracker

Author: Carlo Matulessy Date: 14-9-2017 Version: 1.0

Download the app through the playstore

The App

The purpose of this app is to showcase how to load data from an CSV file. As you can see, I also added the following functionality:

  • If you start the app you first see a splashscreen, this will disappear if the data is loaded from the CSV file. (AsyncTask)
  • The MainActivity screen loads the data from the CSV file into the Listview and plot the data in several CardViews.
  • I added an About page with some background info about this app. Click on the menu button in the right upper corner and tap on about to access this page
  • On this page there are two buttons, one will navigate outside the app to the github project of this app and the other one to my personal website.
  • If you tap on one of the three cards you see a dialog with two buttons (Cancel and New Issue)
  • If you click on the new issue button, you will navigate to the screen with Create New issue. In here you can add a new issue.
  • We validate if there is any text typed, if not you get a notification (snackbar) with the question if you have any issues. If you click on the snackbar actionbutton yes, it will autofill the EditText.
  • If you click on the button Submit button you navigate back to the MainActivity screen, you will see that the counter of issues will raise with +1 (e.g. 5 issues -> 6 issues)

But wait there is more...

I also took the liberty to add an example of an unittest, you can find it in the test director. Besides this unittest I also implemented an End-2-End testcase with the help of the frameworks Cucumber-jvm, Espresso and the Spoon library (gradle-plugin version)

  • Cucumber-jvm is used to translate a feature file, which is written in Gherkin language, to the desired method to kick off a certain action (e.g. tap on a button)
  • Espresso is the UI test automation framework of Google. I used this framework to "steer" the application
  • Spoon is an opensource library which create awesome test reports which you can store in your jenkins jobs. It contains also screenshots and it can create a gif of the whole test.
  • It has two nice reporting modes:
    1. Normal report
    2. TV Dashboard report

If you have any questions, please contact me through github :)

Cheers,

Carlo Matulessy

About

Project to show how to parse a CSV file


Languages

Language:Java 42.5%Language:HTML 39.5%Language:CSS 17.1%Language:Gherkin 0.7%Language:Shell 0.2%