jasontbradshaw / iron-tools

Stream video over the web for either immediate or delayed viewing by an arbitrary number of clients.
3 stars 0 forks source link

Add constants for error messages #4

Closed advisor21 closed 14 years ago

advisor21 commented 14 years ago

We can make testing easier by adding string constants for error/warning messages to our main code.

jasontbradshaw commented 14 years ago

When we refactor, we will be able to test the process managers more easily, and this will not be as necessary as it is now. Ideally, the process managers will raise exceptions when things don't work right, and our tests can catch those specific exceptions rather than just match some semi-arbitrary text.

elben commented 14 years ago

Irrelevant.