hseoy / counter-with-test

implement a simple counter app, and a write test code using cypress

Home Page:https://hseoy.github.io/counter-with-test/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

counter-with-test

Implement a simple counter app, and a write test code

I will implement and test the functions below.

  • the initial value is 0.
  • click the plus button to increment the count by 1.
  • click the minus button to decrement the count by 1.
  • click the reset button to set the count to 0.
$ git clone https://github.com/hseoy/counter-with-test.git
$ cd counter-with-test
$ yarn install
$ yarn start # start live-server
$ yarn cypress:open # to test with cypress

About

implement a simple counter app, and a write test code using cypress

https://hseoy.github.io/counter-with-test/

License:MIT License


Languages

Language:JavaScript 70.5%Language:CSS 18.1%Language:HTML 11.4%