Skip to content

hchiam/learning-tape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learning-tape

Learning Tape for JS TDD.

Just one of the things I'm learning. https://github.com/hchiam/learning

Get Started:

To get started, do this inside your folder within Terminal to install Tape:

mkdir node_modules
npm install tape --save-dev

Run Test:

Then to run the test, do this in Terminal:

node add.test.js

(Note that this uses node, unlike Jest, which uses npm.)

This tests add.js using add.test.js.

And you should see something like this:

TAP version 13
# The add method
ok 1 should add two numbers correctly

1..1
# tests 1
# pass  1

# ok

Resources:

https://www.youtube.com/watch?v=5JXx0QrYUXo

https://github.com/dwyl/learn-tape

https://github.com/substack/tape

https://www.youtube.com/watch?v=JK3EvAV4QKU

About

Learning Tape for JS TDD.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published