dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
106 stars 63 forks source link

Introducing basic rudimentary unit tests #42

Closed delqn closed 8 years ago

delqn commented 8 years ago

Introducing basic rudimentary unit tests

This is the first baby step towards being able to unit test changes. The current set of tests is just an example to start the conversation.

Researching different frameworks and methods I decided the easiest, most fitting implementation given the curent context is one where test classes are friend to what is to being tested - this allows access to private members etc.

Run tests with: make tests