All Projects → gregjopa → Express App Testing Demo

gregjopa / Express App Testing Demo

a simple express app for demonstrating testing and code coverage

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Express App Testing Demo

Express Graphql Boilerplate
Express GraphQL API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 201 (+125.84%)
Mutual labels:  express, jest
Express Babel
Express starter kit with ES2017+ support, testing, linting, and code coverage
Stars: ✭ 621 (+597.75%)
Mutual labels:  express, jest
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (+167.42%)
Mutual labels:  express, jest
2019 12
🎟 급증하는 트래픽에도 안정적인 예약 서비스, Atomic Pattern을 적용한 재사용 가능한 컴포넌트, 실용적인 Testing을 주제로 하는 이벤트 서비스
Stars: ✭ 169 (+89.89%)
Mutual labels:  express, jest
Express Bookshelf Realworld Example App
🐳 An Express and Bookshelf based backend implementation of the RealWorld API Spec.
Stars: ✭ 45 (-49.44%)
Mutual labels:  express, jest
Blog Service
blog service @nestjs
Stars: ✭ 188 (+111.24%)
Mutual labels:  express, jest
Nodebestpractices
✅ The Node.js best practices list (December 2021)
Stars: ✭ 72,734 (+81623.6%)
Mutual labels:  express, jest
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+15603.37%)
Mutual labels:  express, jest
Push Starter
React Redux Starter with SSR 🤖
Stars: ✭ 43 (-51.69%)
Mutual labels:  express, jest
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-64.04%)
Mutual labels:  express, jest
Express Webpack React Redux Typescript Boilerplate
🎉 A full-stack boilerplate that using express with webpack, react and typescirpt!
Stars: ✭ 156 (+75.28%)
Mutual labels:  express, jest
Mostly
They mostly come at night; mostly.
Stars: ✭ 78 (-12.36%)
Mutual labels:  express, jest
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (+62.92%)
Mutual labels:  express, jest
Nxplorerjs Microservice Starter
Node JS , Typescript , Express based reactive microservice starter project for REST and GraphQL APIs
Stars: ✭ 193 (+116.85%)
Mutual labels:  express, jest
Jest Express
Mock Express for testing with Jest
Stars: ✭ 141 (+58.43%)
Mutual labels:  express, jest
React
Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: Flow | React 16 | redux | babel 6 | webpack 3 | css-modules | jest | enzyme | express + optional: sass/scss
Stars: ✭ 244 (+174.16%)
Mutual labels:  express, jest
Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (+30.34%)
Mutual labels:  express, jest
Node Express Boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
Stars: ✭ 890 (+900%)
Mutual labels:  express, jest
Node Typescript Boilerplate
Minimalistic project template to jump start a Node.js back-end application in TypeScript. ESLint, Jest and type definitions included.
Stars: ✭ 1,061 (+1092.13%)
Mutual labels:  express, jest
Fullstack Shopping Cart
MERN stack shopping cart, written in TypeScript
Stars: ✭ 82 (-7.87%)
Mutual labels:  express, jest

express-app-testing-demo

This project is a simple express app for demonstrating testing and code coverage. Jest and Supertest are used for testing. Jest is also used for mocking functions and measuring code coverage. Note that this app only focuses on server-side JavaScript testing.

Requirements

Getting Started

  • Clone the repo
  • Install dependencies with npm install
  • Run server with npm start and go here: http://localhost:3000/

Running Tests

  • Run unit and integration tests: npm test
  • Run end-to-end tests: npm run test:e2e

Code Coverage Report

A new code coverage report is generated every time npm test runs. Normally this coverage report is ignored by git. This project includes it in source control so the coverage report can be viewed in the demo app: http://express-app-testing-demo.herokuapp.com/coverage/lcov-report/index.html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].