[Elisa-commits] [MERGE] resource providers API and manager
Joshua Eichen
jeichen at fluendo.com
Wed Apr 9 13:47:27 CEST 2008
Notes:
Please document your tests better.
Please, write tests for cases that should fail.
* not enough parameters
* bad parameters
* API calls out of order
* etc
The short difference between unit tests and functional tests is:
Unit tests are white boxes, written by some one with access to the code
to test at the API level. These should be as atomic as possible. Each
individual API call is verified. Environmental interactions are
simulated through stubs and mocks.
Functional tests are tests for use cases. Front end to Back end and
back again. This is of course hard to do with core functionality. And
harder without a way to do automated UI testing. But we're working on
that...
So, please atomized the unit tests.
Joshua
On Tue, 2008-04-08 at 17:53 +0200, Benjamin Kampmann wrote:
> The Resource Providers API is considered stable and the resource manager
> works relieable now. We should merge both into the main rest branch.
>
> This patch contains the resource_manager for core, a test for it with a
> coverage of 100%, the resource_provider base component and a modified
> application to hold the resource_manager.
More information about the Elisa-commits
mailing list