All Projects → codecoolture → react-atdd-playground

codecoolture / react-atdd-playground

Licence: MIT license
Template to (deliberate) practice your test-driven development skills.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to react-atdd-playground

nextal
Starter template for NextJs with TypeScript. Supports Tailwind with CSS-Modules. Jest and @react/testing-library configured and ready to go. Also ESLint, Prettier, Husky, Commit-lint and Atomic Design for components.
Stars: ✭ 88 (+528.57%)
Mutual labels:  nextjs-template, nextjs-starter
nextarter-chakra
battery packed template / boilerplate to initialize Next.js app with Chakra UI & Typescript setup ✨
Stars: ✭ 616 (+4300%)
Mutual labels:  nextjs-template, nextjs-starter
Next-JS-Landing-Page-Starter-Template
🚀 Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript ⚡️ Made with developer experience first: Next.js 12 + TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Netlify + PostCSS + Tailwind CSS
Stars: ✭ 521 (+3621.43%)
Mutual labels:  nextjs-template, nextjs-starter
Jest Dom
🦉 Custom jest matchers to test the state of the DOM
Stars: ✭ 2,908 (+20671.43%)
Mutual labels:  testing-library, testing-library-react
next-saas-starter
⚡️ Free Next.js responsive landing page template for SaaS products made using JAMStack architecture.
Stars: ✭ 497 (+3450%)
Mutual labels:  nextjs-template, nextjs-starter
next-tailwind-starter
A starter for Next.js with Tailwind CSS and Typescript. Pre-configured with absolute import, TailwindUI and some additional components.
Stars: ✭ 22 (+57.14%)
Mutual labels:  nextjs-template, nextjs-starter
nextjs-firebase-fns-demo
Demo for serverless NextJS on Firebase Functions
Stars: ✭ 14 (+0%)
Mutual labels:  nextjs-template, nextjs-starter
next.js-tailwindcss-template
Opinionated Next.js and TailwindCSS template.
Stars: ✭ 15 (+7.14%)
Mutual labels:  nextjs-template, vercel
next-shopify-starter
Nextjs + Tailwind CSS + Shopify Starter
Stars: ✭ 385 (+2650%)
Mutual labels:  nextjs-template, nextjs-starter
amazin
A MERN-stack app for eCommerce platform, Webshop, Web Store. Storybook: https://www.amazin.one/ Alternative: https://ntrix.github.io/amazin-story
Stars: ✭ 27 (+92.86%)
Mutual labels:  cypress, vercel
nextjs-ts-antd-redux-storybook-starter
🏃🏼 Next.js + TypeScript + Ant Design + Redux Toolkit + Redux Saga + Styled Components + Jest + Storybook 企业级项目脚手架模板
Stars: ✭ 78 (+457.14%)
Mutual labels:  nextjs-template, nextjs-starter
tina-starter-alpaca
NextJS Documentation starter powered by TinaCMS
Stars: ✭ 55 (+292.86%)
Mutual labels:  nextjs-starter, vercel
fullstack-nextjs-ecommerce
Fullstack Next.js E-Commerce made with NextAuth + Prisma, Docker + TypeScript + React Query + Stripe + Tailwind Sentry and much more 🛒
Stars: ✭ 524 (+3642.86%)
Mutual labels:  nextjs-template, nextjs-starter
Madara
✍️ A way for people to manage their tasks.
Stars: ✭ 17 (+21.43%)
Mutual labels:  cypress, testing-library
reactjs-vite-tailwindcss-boilerplate
ReactJS + Vite boilerplate to be used with Tailwindcss.
Stars: ✭ 103 (+635.71%)
Mutual labels:  testing-library
now-middleware
Chain Express middlewares with Vercel (ex-ZEIT) Now serverless functions.
Stars: ✭ 21 (+50%)
Mutual labels:  vercel
tailwind-react-next.js-typescript-eslint-jest-starter
Starter template for building a project using React, Typescript, Next.js, Jest, TailwindCSS and ESLint.
Stars: ✭ 80 (+471.43%)
Mutual labels:  nextjs-starter
cypress-routines
Easily write scalable Node.js setup code for Cypress
Stars: ✭ 43 (+207.14%)
Mutual labels:  cypress
xv
❌ ✔️ zero-config test runner for simple projects
Stars: ✭ 588 (+4100%)
Mutual labels:  tdd
playwright-testing-library
🔍 Find elements in Playwright with queries from Testing Library
Stars: ✭ 160 (+1042.86%)
Mutual labels:  testing-library

React ATDD Playground (with Next.js) 🎈

Hi 👋,

Here is a template with a working project skeleton to (deliberate) practice your test-driven development skills (or just front-end testing or front-end development in general).

📦 What's in the box?

  • A React app (with Next.js): so you can exercise with different kinds of components: UI blocks, pages...
  • 🌳 Cypress: an acceptance testing framework for browser testing, using JavaScript.
  • 🐙 Testing Library Suite: a complete set of tools for unitary/integration testing at the component level.
  • 🔴 Nock: a sophisticated HTTP test double.
  • 🔄 GitHub Actions: a next-gen continuous integration server. This repository includes an example of a workflow to run the acceptance and unit testing suites: github action badge

How to play?

First, you will need to install the required dependencies. They can be all automatically installed by using yarn:

$ yarn install

Then, there are available three yarn scripts to execute different parts of the test suite:

$ yarn test:all # it will run all the tests
$ yarn test:acc # it will run only the Cypress test suite
$ yarn test:unit # it will run only the Jest & Testing Library test suite

If you're starting with TDD, some resources here may help you through the journey. If you don't know where to start, programming katas are a popular mechanism to practice TDD (here, you may find some popular ones). Though they are not explicitly targeted for front-end, it should be easy to add a small UI layer on top of them :-)

Other useful commands

Besides the above testing-focused commands, these may help you during your practice session:

$ yarn dev # starts the app at http://localhost:3000
$ yarn test:acc:live # opens the Cypress interactive UI
$ yarn lint # lints the project by using ESLint (similar to what your editor probably already does)
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].