Skip to content

Odoo module to output test results as XML files instead of terminal

License

Notifications You must be signed in to change notification settings

patrickpeng2091/odoo_xml_test_output

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML Test Output for Odoo

A simple Odoo module that overrides openerp.modules.module.run_unit_tests so it uses the XMLTestRunner instead of TextTestRunner. This generates XML files that can be read by other software such as SonarQube.

Important info

  • The module needs to be installed on the database before tests are run in order for the override to work
  • The output directory can be set via the test_report_directory option in your server.cfg file, it defaults to 'tests'

Todos

  • Add output path configuration

About

Odoo module to output test results as XML files instead of terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages