cspotcode / cspotcode/ts-project-template

Add test harness

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

First try: just run tests in node.

Second pass: some sort of in-browser testing?

Include code coverage.

Directory structure:

```
\src
\test
\fixtures
\spec
index.ts
```
## Tentative plan:

AVA test runner. (TODO it doesn't support in-browser testing yet?)
NYC code coverage (https://github.com/avajs/ava/blob/master/docs/recipes/code-coverage.md)
Ready for TravisCI and [Coveralls](https://coveralls.io/)

Anything ending in .test.ts is a test file. They can live anywhere in src/.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.