= RTEMSTestingGSOC2012 = = Testing Framework Comparison and Sanity Check = I compared 10 testing framework by unit testing functionality and mocking capability.For each framework, I modified several tests from current test suite, compile them with RTEMS compilers, simulate the new tests with Sparc architecture, and compare the results to ensure that framework used could work correctly for RTEMS based testing. The detailed test framework review can be accessed with this link: [wiki:Projects/GSoC/TestingReview TestingReview] Please click on the name of each testing framework to see the detailed comparison note and sanity check result. = Structure Design for New Test Suite = In order to support the four testing category, the new test-suite is structured in a way that all the tests in each group belong to the same test category. The four groups of tests are Hardware Independent Tests, CPU Dependent Tests, BSP Dependent Tests, and Peripheral Dependent Tests. Tests are structured under each test group according to the functionality they serve. The areas are: Tasks(Threads) Management, Memory Management, File Systems, General(Miscellaneous) Areas, Device IO, Network, Timing Tests. The detailed test structure design can be see via the following link: [wiki:TestSuite#Test_Suite_Plan Testing Suite Plan] = Conversion Plan of Current Test Suite to New Test Suite = The conversion plan contains the detailed testing plan, which is a table of the subareas within each functional area, for example, memory management. It also maps the already written tests in the current test suites to the subareas in the table. The blank element under Written Tests column indicates that there is no tests written in current test suite that exclusively tests this subarea. It does not necessarily mean that this subarea is not covered in current test suites. The tests for this subarea may be included in tests written for its parent area. Otherwise, it is not written yet. [wiki:Projects/GSoC/TestSuite/conversion_plan Conversion Map] = Design New Test Framework Interface = = Adding JSON Output to Unity = The Unity testing library is modified to add the json output utility. The code can be accessed via this link: https://github.com/panx/library.