Bug 6214

Summary: Toaster selftest - integrate toaster backend testing into oe-selftest - fully automated
Product: [Build System, Metadata & Runtime] Toaster Reporter: Ionut Chisanovici <ionutx.chisanovici>
Component: toasterAssignee: Ionut Chisanovici <ionutx.chisanovici>
Status: VERIFIED FIXED QA Contact: Ionut Chisanovici <ionutx.chisanovici>
Severity: enhancement    
Priority: Medium+ CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bogdanx.a.voiculescu, cristiana.voicu, jessica.zhang, Yuan.Sun2
Version: 1.7   
Target Milestone: 1.7 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Ionut Chisanovici 2014-04-23 15:09:56 UTC
Toaster backend testing will be fully integrated into oe-selftest under the code name "toaster selftest" and it will be 100 % automated.
This means the followings:
1. Rewrite tests using python unittest to direct access the toaster sqlite db instead of using django unittest as django unittest is a lot more slower (known bug for this in django);
2. Easy access to toaster testing for everyone;
3. Easy integration with oe-selftest;
4. Better tests management with oe-selftest: all tests can be run at once or we can run independent test suites or only one test at once, simple tests can be added at any time.
5. Oe-selftest logging system so people can see the tests outcome in a suitable (unittest) way;
6. Integration with AutoBuilder oe-selftest automated tests;
7. Integration with AutoBuilder oe-selftest automated tests webpage outcome (let's say the TGrid view).

Cheers,
Ionut C
Comment 1 Ionut Chisanovici 2014-04-23 15:12:44 UTC
I have, already, migrated and updated 70 % of the tests to the new toaster selftest script.

Cheers,
Ionut C
Comment 2 Ionut Chisanovici 2014-07-08 09:04:58 UTC
Merged into master in:
676c1f5c67d1d55b6e8236785584672c87a7e5e2
9e1c86921ce1bb561bdef97b0f6da7d35f15c9d8

Cheers,
Ionut C
Comment 3 Ionut Chisanovici 2014-07-08 09:05:17 UTC
Verified.

Ionut C