Skip to content

πŸ“š Simple-JS-Test-Library: Dive into JavaScript testing with this easy-to-understand library πŸ› οΈ, featuring a suite of utility functions and their tests πŸ§ͺ. Perfect for mastering the basics of unit testing! πŸ’‘

Notifications You must be signed in to change notification settings

Jagoda11/Simple-JS-Test-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Simple-JS-Test-Library πŸ“š

Open Issues Last Commit

πŸ“ Homework Assignment #5

πŸ“ƒ Details:

Create a new empty repository with a /test folder πŸ“, and an /app folder πŸ“‚.

Inside of the app folder, create a library (lib.js) πŸ“š and fill it with simple functions. These can serve any purpose you wish, such as generating a random number 🎲, or checking whether or not a string is a palindrome. Really, any kind of functions will do.

Inside the /test folder, create a simple test runner πŸƒβ€β™€οΈ, and then write tests for the functions in your lib.js file. You should try to test that they return (or callback) the correct value when passed valid parameters βœ”οΈ, and that they return a predictable value (and don't crash) when passed invalid parameters ❌.

About

πŸ“š Simple-JS-Test-Library: Dive into JavaScript testing with this easy-to-understand library πŸ› οΈ, featuring a suite of utility functions and their tests πŸ§ͺ. Perfect for mastering the basics of unit testing! πŸ’‘

Topics

Resources

Stars

Watchers

Forks

Sponsor this project