nesvoboda / socrates

A small testing framework for 42's philosophers
68 stars 3 forks source link

Fix tests, ensure acceptable coverage #11

Closed nesvoboda closed 3 years ago

nesvoboda commented 3 years ago

In this pull request, I've tried to cover Socrates with tests.

It will make contributing to the project easier, as we won't need to use real projects for testing during development.

Several key functions, particularly those tied to death time measurements, are covered with unit tests. There are also integration tests. They launch Socrates on folders of Python scripts that pretend to be philosophers. Pretty proud of this system actually :)