Giter VIP home page Giter VIP logo

training-ui5con18-opa's Introduction

OpenUI5 logo

training-uicon18-opa

OpenUI5 sample app to demonstrate UI5's OPA (UICon'18)

Travis-CI

Getting started

  • Install Node.js (from nodejs.org).
  • Install the Grunt CLI
    npm install --global grunt-cli
  • Clone the repository and navigate into it
    git clone https://github.com/ArnaudBuchholz/training-ui5con18-opa.git
    cd training-ui5con18-opa
  • Install all npm dependencies (also installs all bower dependencies)
    npm install

Usage

Server

Run grunt serve to start a local server with your application at http://localhost:8080.

Run grunt watch to also execute your unit tests automatically after every change.

Code validation

Run grunt lint to run static code checks on your project.

Run grunt test to execute all tests and get a coverage report.

Build

Run grunt build to build a deployable version of your app to /dist.

Follow-up exercises

Despite the 100% coverage, there are still issues in the application:

  • In the dialog, the date/time pickers could be bound to an invalid property, no test will fail
  • In the dialog, the "Due date" date/time picker is not validated. If one enters an invalid date, no error is shown. Worse, the dialog is not refreshed properly when re-opened.
  • In the dialog, when the server throws an error, the dialog is closed. But it would be better to keep the dialog opened to allow the user to change the value. For instance: what if the backend rejects empty titles?

training-ui5con18-opa's People

Contributors

arnaudbuchholz avatar

Watchers

 avatar  avatar

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.