docmalloc / gplmt

GNU Affero General Public License v3.0
1 stars 0 forks source link

test automation #13

Open FlorianDold opened 9 years ago

FlorianDold commented 9 years ago

We should have some way to do automated testing. I'm not sure yet what's the best way to do that, considering that we don't really want to mock too many parts of paramiko or the planetlab api.

A good start might be some tests involving only local workers, but that misses features such as run_per_host or synchronization barriers.

docmalloc commented 9 years ago

Definitely ... tests for local functionality is imho the first step e.g. parsing experiment xml descriptions, configuration etc. ... so feel free to go for it

Testing network functionality is a mess since it is hard to trick the remote part or mockup into all possbile error cases...

Egomania commented 9 years ago

I agree, that test cases are needed and should be considered right from the start