muteria.controller.main_controller module

This module implement the main controller class, which is the entry point of the execution. The entry class is MainController and the entrypoint method is MainController.mainrun

class muteria.controller.main_controller.MainController[source]

Bases: object

This class implements the main controlle which will organize the execution and reporting.

Parameters:
  • execution_config – Configuration data for execution setting (such as: execution order, what to execute, …)

  • reporting_config – Configuration for reporting (coverage, mutation score, …)

  • tools_config – Configurations of the tools involved (test tool, mutation tool, code coverage tools)

  • project_config – Configurations of the project to analyze

  • output_pathdir – Path to the directory where the execution take place and the resulting data are stored.

internal_infos(config)[source]
main(final_config)[source]

Entry point function using the final configuration object

raw_config_main(raw_config)[source]
TODO: Deal with config change at different runs

Notify the user that the config changed and show the diff

TODO: add option to load the config from prev if not specified()

view(top_timeline_explorer, config)[source]

Method used to navigate in the output dir and make simple queries