NodeSchool Javascripting

Hi there!

I am using the great NodeSchool Workshopper: Javascripting course in my class, and I want at the end to create a similar style Test for my students.

Each exercise has a “Verify your answer” link after students run the code. How are the different tests (for verifying one’s code) written?

The aim is to make a similar style test so students are familiar and it automatically tests their answers.

Thanks in advance,

Stefanos

You can see the source code here: https://github.com/workshopper/workshopper-adventure/blob/master/index.js

I think you might able to find out, how the testing system works. I think it just compares the return of the function or the source code with the solution’s result or source code respectively.

1 Like

Thanks for that! didn’t actually realised it was all on GitHub!

Will give it a go. Thanks!

1 Like