pileghoff

joined 1 year ago
[–] pileghoff 86 points 1 year ago (9 children)

First semester of my cs degree, it was around 50/50. After 3 semesters very few women were left. Spoiler: it was not because they could not handle the courses.

[–] pileghoff 6 points 1 year ago

The usual answer is mocking using something like FFF or cmock. Mocking allows you to write tests where you can swap out the implementation of certain functions. The two frameworks I linked will auto generate code to assert that the function was called a certain number of times or with the right arguments.

view more: ‹ prev next ›