Skip to content

esl/ct_groups_summary_hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common Tests Group Summary Hook

This hook counts successful and failed groups in the test suite. It writes a groups.summary file into the suite log directory.

Used in MongooseIM big tests.

This repo contains the hook and tests for it.

Hex package

Credits

ct_groups_summary_hook was originally created within the MongooseIM repository as part of its test framework.

Test Execution Summary

See summarise-ct-results script, which reads the groups.summary file.

Usage example (takes a list of directories as arguments):

priv/summarise-ct-results _build/test/logs/last/
CT results:
    1 groups passed
    0 groups failed
    0 tests eventually passed
    0 tests with end_per_testcase failed
    1 tests passed
    0 tests failed
    0 tests skipped by user
    0 tests skipped automatically

Returns with the exit code 0 on the test execution success.

Apply code formatter before commit

rebar3 fmt -w