Jwhiles / pure-functions-easy-testing

A workshop to help people start testing their code.
MIT License
2 stars 5 forks source link

Tape testing framework used as opposed to Q-Unit in examples #5

Open jay-meister opened 7 years ago

jay-meister commented 7 years ago

Workshop looks good.

I think we could change the use of tape framework in the examples for Qunit since this workshop is being given in week 2.

jsms90 commented 7 years ago

@Jwhiles Anything happening with this? Everything else in week 2 has been changed to tape

oliverjam commented 7 years ago

FYI the JQuery CDN completely fails to load QUnit if 3rd party cookies are blocked... This is an issue a couple of FAC11 have had today.

Might be another reason not to use it.

jsms90 commented 7 years ago

Despite this instruction

open specrunner.html in the browser

there has been some confusion with how to run the tests.

Probably because they just see the word "open", people are just opening the testing file in their text editor. Since they've only been introduced to tape & therefore running tests via their terminal, it's not clear to them why they would be opening an HTML file in their browser.

We could:

I'm not fussed which is chosen. But if we go for the later, a brief explanation of other frameworks (e.g. QUnit) that assumes that students have only seen tape before might be useful?