- 
                Notifications
    
You must be signed in to change notification settings  - Fork 29
 
Open
Description
- I would like to initialize and finalize the environment just before and after themis's tests which would be written to 
.themisrc - I would like to have default Before/After for all suites.
 
全テストの前後で初期化・終了処理を行いたいという要望とデフォルトの Before, Before all, After, After all が欲しいという要望です。
全テストの前後で初期化・終了処理を行いたい
例えば IO などでテスト中は tempname() によるディレクトリを利用して、テストが終わったら消したいなどの場合に便利です。Before などでは インスタンス作成時 にディレクトリ構造を構築するタイプのものだと After で削除した後に期待するサブディレクトリにアクセスできずに落ちます
デフォルトの Before, After
そのままですが、バッファの初期化処理などをすべてのテストに記載するのが面倒なので .themisrc などに記載するとすべてのテストファイルに適用される、などの機能があると助かります。
Metadata
Metadata
Assignees
Labels
No labels