robmoss / git-is-my-lab-book

Support EMCRs to develop their computing skills
Creative Commons Attribution Share Alike 4.0 International
12 stars 9 forks source link

Incomplete section: Testing #3

Open robmoss opened 2 years ago

robmoss commented 2 years ago

The following chapters are incomplete or missing:

EamonConway commented 2 years ago

I'd like to suggest adding a Testing Frameworks section.

If we get an understanding of the languages that people use we could tailor to that. I think a very basic overview of the unittest module in python and google_test for c++ (I'm biased).

A benefit of starting with these two is that they are both structured in the same way, building up from test fixtures in a rather object oriented pattern.

robmoss commented 2 years ago

I think that's a great idea. I implicitly assumed that the testing content would direct the reader to select an appropriate testing framework, but it's much better to be explicit and point out that there are tools that address this (and for good reason, it can end up being very complicated!).