Bug 4948

Summary: create tests for Toaster API
Product: [Build System, Metadata & Runtime] Toaster Reporter: Calin Dragomir <calinx.l.dragomir>
Component: toasterAssignee: Mihail Stanciu <stanciux.mihail>
Status: VERIFIED OBSOLETE QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: enhancement    
Priority: Medium CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bluelightning, bogdanx.a.voiculescu, jessica.zhang
Version: 1.5   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 5015    
Bug Blocks:    

Description Calin Dragomir 2013-07-29 14:11:30 UTC
We need to create some basic tests which will validate that the code is working as expected.
The tests will be ran against the API and will check the response according to our documentation.
Comment 1 Andreea Brandusa Proca 2013-11-05 10:29:32 UTC
The API tests need to be updated each time the database changes.
I will change the milestone of this bug until the database model will be constant.
Comment 2 Alexandru Damian 2013-11-29 14:16:30 UTC
APIs must be tested according to the published API documentation, and not internal database structure.
Comment 3 Alexandru Damian 2013-11-29 14:17:23 UTC
Please document on Wiki, as part of this bug:

- how the tests are to be started
- how tests results are to be intepreted
Comment 4 Ionut Chisanovici 2014-04-09 15:18:11 UTC
Moved to 1.7
Comment 5 Ionut Chisanovici 2014-10-08 13:48:59 UTC
This will be moved to 1.8 as the components of the project part of the toaster will be added in 1.8 and the API tests will extend to cover them as well.

Cheers,
Ionut C
Comment 6 Mihail Stanciu 2015-11-17 12:36:37 UTC
This is obsolete as of 2.0.

Currently there is no public facing API.
Comment 7 Mihail Stanciu 2015-11-17 12:37:00 UTC
(In reply to comment #6)
> This is obsolete as of 2.0.
> 
> Currently there is no public facing API.

Verified as per above.