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

https://github.com/lemoncode/react-simple-testing


https://github.com/lemoncode/react-simple-testing

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# React simple testing

Guide to add unit tests support to your React project (TypeScript based) using Karma + Chai + Mocha + Sinon.
Each sample contains a `README.md` file that indicates the purpose of the sample plus a step by step guide to reproduce it.

# Samples

## 00 Boilerplate

In this sample we are going to create basic project structure with all configuration for TypeScript, Webpack, Karma, Tslint, React-hot-loader, etc.

## 01 Login Component

In this sample we are going to create an app with `Login` component that navigate to other page. We are going to use [`lc-form-validation`](https://github.com/Lemoncode/lcFormValidation) to add login form validations.

## 02 Testing business logic

In this sample we are going to add unit tests. In this case, we will test all app business logic.

## 03 Testing components

In this sample we are going to add unit tests. In this case, we will test all necessary app components.

# About Basefactor + Lemoncode

We are an innovating team of Javascript experts, passionate about turning your ideas into robust products.

[Basefactor, consultancy by Lemoncode](http://www.basefactor.com) provides consultancy and coaching services.

[Lemoncode](http://lemoncode.net/services/en/#en-home) provides training services.

For the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend