Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nareshbhatia/stock-charts

Sample application to demonstrate best practices in testing
https://github.com/nareshbhatia/stock-charts

Last synced: about 4 hours ago
JSON representation

Sample application to demonstrate best practices in testing

Awesome Lists containing this project

README

        

# Stock Charts

_Stock Charts_ is a sample application to demonstrate best practices in testing.
Hope you will find it useful.
[Feedback welcome!](https://twitter.com/NareshJBhatia)

## The Application

The application consists of a single page that displays information about a
stock. Here's a screen shot to give you an idea:

![Screen Shot](assets/screen-shot.png)

## Build

```bash
$ yarn
$ yarn start
```

Now point your browser to http://localhost:3000/.

## Test

Execute the following command to run tests in interactive mode:

```bash
yarn test
```

Execute the following command to run all tests and show test coverage.

```bash
yarn test --watchAll=false --coverage
```