HardWare68 / Programming-Thing

A collabrative programming project my friends are working on
programming-thing-hardware68.vercel.app
2 stars 0 forks source link

I may be stupid #42

Closed BlaisinX closed 3 years ago

BlaisinX commented 3 years ago

but how does one use the test.js file

HardWare68 commented 3 years ago

so thats for travis.ci, it tests all the functions to make sure they work.

first it imports all the testdata from the test data json file thingy, and then it goes through and tests each function with the input and checks to make sure it is the expected output.

so if you wish to start testing your jazz: 1.) Set up your test data in the JSON file 2.) Implement the testing thingy in test.js 3.) ??? 4.) Profit

BlaisinX commented 3 years ago

okay, how do I run it

HardWare68 commented 3 years ago

If you are using repl.it, go to "Shell," then type node test.js.

BlaisinX commented 3 years ago

okay thanks