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 :)
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 :)