plutec / megup

Incremental backup system with mega service
megup.wordpress.com
GNU General Public License v2.0
0 stars 1 forks source link

Write test automation infrastructure #3

Open plutec opened 10 years ago

plutec commented 10 years ago

Write all the infrastructure necessary for all the automated testing, from deployment to end-to-end tests.

drimer commented 10 years ago

Just tracking some of the work on this.

Basic test coverage that doesn't have any dependency on network capabilities can already be implemented. This was introduced in 3ccb5a64a5baa22d2ff83943a09e053ab8300586.

Now, I'm working on network-dependant tests. I've got two possible approaches, which I'm looking into at the moment:

plutec commented 10 years ago

Uff, I think that the first option is better. It is required less work and is more realistic.

drimer commented 10 years ago

Write a complete mocking system that emulates Mega.

After some thought, it doesn't look so daunting and could be worthwhile. I'm dsigning its principles on unit-tests-mocked-server. I'll be updating these self-notes with further information if I come across any outstanding issue.