diff --git a/ecs/crm-datafetch/tests/docstring_parser.py b/ecs/crm-datafetch/tests/docstring_parser.py index 32ac1579..040c9b5d 100644 --- a/ecs/crm-datafetch/tests/docstring_parser.py +++ b/ecs/crm-datafetch/tests/docstring_parser.py @@ -1,3 +1,16 @@ +"""pytest-htmlでレポート出力するため、各テスト関数のドキュメントコメントのセクションを抜き出して、辞書にする +Examples: + <セクション名>:となっている部分が対象になる + \"\"\" + Cases: + テストケース + Arranges: + 準備作業 + Expects: + 期待値 + \"\"\" +""" + import re from itertools import takewhile