MDecker-MobileComputing / Ionic_IataCodes

Simple Ionic app using Angular and Capacitor to demonstrate automatic tests (e.g. unit tests).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ionic app to demonstrate automated tests


This repository contains an Ionic app which uses Angular and Capacitor. The app's purpose is it to demonstrate how to write automatic tests for Ionic apps.

The app allows to query for IATA codes (International Air Transport Association), namely airport codes and airline codes, but only a few airports and airlines are actually "stored" (i.e. hard-coded) in the app, see class IatadbService.


The author of this app is not related to the IATA in any way.



Screenshot


Screenshot 1   Screenshot 2

Screenshot 3   Screenshot 4



Running the tests


Enter the following command to run the tests with the Karma testrunner:

npm test

The unit tests are defined in the files with suffix .spec.ts under folder src/app/ .



License


See the LICENSE file for license rights and limitations (BSD 3-Clause License) for the files in this repository.


About

Simple Ionic app using Angular and Capacitor to demonstrate automatic tests (e.g. unit tests).

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 60.9%Language:SCSS 25.9%Language:HTML 4.8%Language:JavaScript 4.3%Language:Java 4.0%