Project

General

Profile

action #89539

Updated by riafarov about 3 years ago

After we see that work in #88606 is stable we should add documentation and unit tests to AutoYaST profile validator. 

 Perl POD documentation is available here: https://os-autoinst.github.io/os-autoinst-distri-opensuse/ 
 We can either inject documentation there, e.g. to validate_autoyast_profile method description or write it separately. Main goal is that it's clear what has to be defined in the YAML test data to validate given autoyast profile. 

 Following methods should be covered with unit tests: 
 * validate_autoyast_profile 
 * is_processable 
 * has_properties 
 * create_xpath_predicate 
 * close_predicate 
 * ns 
 * get_traversable 
 * get_descendant 
 * generate_expressions 


 ## Acceptance criteria 
 1.

Back