- Copy this repo. Either do it manually (
rm -rf .git && git initin the copied directory), or by forking and renaming on GitHub, or (best of all) creating a new repo on GitHub and choosing this repo as its template. - Go into the repo and run
npm ito install thejesttesting framework. - Run
npm testin a terminal, preferably a full-screened one for a proper display of your test results. Or, alternately, use an in-line test runner if you have one. - Write some tests in
main.test.jsthat will test your student's code, and then write the code inmain.jsthat your students should write. Don't forget to add anything you want tested to themodule.exportsobject inmain.js, and declare them inmain.test.jsin therequiredeconstruction curlies. - Delete your code; that's the student's job now. Or, even better: make this repo a solutions repo for a repo you'll now make without the solution in it.
- DELETE THIS README! These directions are not for your students. Even better: rewrite this readme to be directions that are for your students.
generated from ci-wdi-900/testing-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
ci-wdi-900/testy
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published