Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdecker-mobilecomputing/ionic_iatacodes
Simple Ionic app using Angular and Capacitor to demonstrate automatic tests (e.g. unit tests).
https://github.com/mdecker-mobilecomputing/ionic_iatacodes
angular github-actions iata-codes ionic jasmine
Last synced: about 1 month ago
JSON representation
Simple Ionic app using Angular and Capacitor to demonstrate automatic tests (e.g. unit tests).
- Host: GitHub
- URL: https://github.com/mdecker-mobilecomputing/ionic_iatacodes
- Owner: MDecker-MobileComputing
- License: bsd-3-clause
- Created: 2021-05-23T19:19:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T08:28:31.000Z (8 months ago)
- Last Synced: 2024-11-09T22:41:01.427Z (3 months ago)
- Topics: angular, github-actions, iata-codes, ionic, jasmine
- Language: TypeScript
- Homepage:
- Size: 1.65 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://en.wikipedia.org/wiki/IATA_airport_code)
and [airline codes](https://en.wikipedia.org/wiki/Airline_codes), but only a few airports
and airlines are actually "stored" (i.e. hard-coded) in the app,
see [class IatadbService](src/app/iatadb.service.ts).
The author of this app is not related to the IATA in any way.
----
## Screenshot ##
![Screenshot 1](screenshot_1.png) ![Screenshot 2](screenshot_2.png)
![Screenshot 3](screenshot_3.png) ![Screenshot 4](screenshot_4.png)
----
## Running the tests ##
Enter the following command to run the tests with the [Karma testrunner](http://karma-runner.github.io/latest/index.html):
```
npm test
```The unit tests are defined in the files with suffix `.spec.ts` under folder [src/app/](src/app/) .
----
## License ##
See the [LICENSE file](LICENSE.md) for license rights and limitations (BSD 3-Clause License) for the files in this repository.