Open plutec opened 11 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:
unit-tests-with-mega-account
Uff, I think that the first option is better. It is required less work and is more realistic.
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.
Write all the infrastructure necessary for all the automated testing, from deployment to end-to-end tests.