docs: docstring_parserにドキュメントコメントを追記

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2022-08-03 11:58:00 +09:00
parent 8152e8fe1b
commit 02c6b97e92

View File

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