express-workshop icon indicating copy to clipboard operation
express-workshop copied to clipboard

Basic testing workshop

Open njseeto opened this issue 5 years ago • 2 comments

Hi All 👋

Hope everyone is doing ok in these current covid times.

I thought I'd use the extra time to write up a simple server testing workshop. It is written as an intro into testing endpoints and only looks at testing a GET and a POST as these are the 2 endpoints covered in the main Node workshop.

I have set it out so it is all encased in a test folder, and each step has its own readme.

I would love any feedback on the content (readability / level of information), also any other suggestions/additions/changes.

I don't have a solution branch but am happy to make one as a reference, if we think that is a good idea?

Stay safe, hope to see you all in the flesh soon!

njseeto avatar Apr 30 '20 20:04 njseeto

@njseeto So here's the destination repo: https://github.com/node-girls/express-testing-workshop. Clone that down and move your stuff into there. You can use this other repo as an example for the folder structure: https://github.com/node-girls/express-workshop-steps. All being well, it should just work 🤞

minaorangina avatar May 10 '20 12:05 minaorangina

Heya!

I've moved the tutorial into the repo and made a PR: https://github.com/node-girls/express-testing-workshop/pull/1 Have also fixed up the typo and added an explanation on assertions as suggested 😃

njseeto avatar May 11 '20 16:05 njseeto