Skip to content

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

License

Notifications You must be signed in to change notification settings

MDecker-MobileComputing/Ionic_IataCodes

Repository files navigation

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).

Topics

Resources

License

Stars

Watchers

Forks