TestResults.to_great_table()

Create a styled Great Tables report from the test results.

Usage

Source

TestResults.to_great_table()

Produces a GT table with a header, formatted numbers, color-coded pass/fail status, and bold column labels.

Returns

great_tables.GT
A configured Great Tables object ready for display or export.

Raises

ImportError
If great-tables is not installed.

Examples

import talk_box as tb

results = tb.autotest_avoid_topics(bot, test_intensity="medium")
table = results.to_great_table()
table.save("report.html")