{'fraction_non_alphanumeric': 0.02211874272409779, 'fraction_numerical': 0.006984866123399301, 'mean_word_length': 5.615384615384615, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A New Specification-based Test Data Generation Strategy for OSEK OS

Specification-based test is used to test a software application to check if it conforms to its design specification. Writing adequate test suites is very challenging and labor-intensive. Producing Specification-based tests for Real-Time Operating System (RTOS) is more challenging than for generic applications since specifications of RTOS only provide resource management mechanisms rather than specific application functionality descriptions. In this paper, we investigate whether Genetic Algorithms (GAs) can generate qualified tests for RTOS, and we present an effective GA approach with an optimization of Kuhn-Munkres maximum weighted algorithm. Experiment results demonstrate the effectiveness of our approach. It is able to generate 100% state coverage tests within 200 generations.