Allure 提供@allure.epic/@allure.feature/@allure.story(业务分组)和@allure.parent_suite/@allure.suite/@allure.sub_suite(技术套件分组)两类核心分组装饰器,用于在测试报告中对用例做层级分类。一、业务分组(Behaviors 视图)层级:Epic → Feature → Story → 用例1.@allure.epic("顶级模块")作用:最高级分组(大业务 / 项目)常用:类 / 模块级别python运行@allure.epic("电商系统") class TestOrder: ...2.@allure.feature("功能模块")作用:二级分组(主功能)常用:测试类python运行@allure.epic("