jason-kerney / TS-Kata

A starting place for type script katas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TS-Kata

A template for doing katas in TypeScript

Table Of Contents

Purpose

Problem Statement

I wanted a quick way to get started with a kata, particularly when introducing other developers to them. I found that the time taken to just get the initial setup up and running detracted from doing the kata.

Solution

So this project allows for a quick setup of various test environment by providing multiple templates.

How to use this project

TS-Kata is designed to be your template, not a template generator. The way you use it, is there is a branch for each supported test framework. You switch your branch and then delete the .git folder and start over.

NOTE: This readme will also change to give you information on how to run each test framework.

Currently Supported

  1. Mocha
  2. Jasmine
  3. Jest

Useful Tool

The templates provided through this project are designed to utilizes gittey to make things easier. Gittey is not required but useful.

Gittey is a command runner with understanding of git.

To install:

npm i -g gittey

Useful commands

To run the tests

gittey test

This will run tests and commit the code if the tests pass

To commit code

gittey commit

This will commit code with prompts, including message.

To undo current work

gittey undo

This will reset the directory to the last commit

To checkout a different branch

gittey checkout

Lets you choose which branch to checkout via selection list.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

EDF Renewables
EDF Renewables

💵
Jai Gokhale
Jai Gokhale

🤔
Chris Stead
Chris Stead

🔧

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A starting place for type script katas

License:MIT License