Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/second-slip/forex-api-test

Project for unit test practice
https://github.com/second-slip/forex-api-test

angular karma-jasmine unit-testing

Last synced: 19 days ago
JSON representation

Project for unit test practice

Awesome Lists containing this project

README

        

# ForexApiTest

This project is used for unit test practice.

```
Code coverage summary (as of 28/06/2022):
=============================== Coverage summary ===============================
Statements : 94.44% ( 34/36 )
Branches : 100% ( 1/1 )
Functions : 94.44% ( 17/18 )
Lines : 93.75% ( 30/32 )
================================================================================
(source: ng test --code-coverage)
```

This project was updated to Angular cli version 14 on 22/06/2022.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.