問題タブ [hspec]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
haskell - Hakyll の MonadMetadata でテストする
私たちの Hakyll コードベースのために、いくつかのヘルパー メソッドを作成し、新しいものにいくつかの HSpec 単体テストを追加し始めました。
Item
テスト用にorを作成するのは簡単ですが、Hspec を実行するときにIdentifier
をどこに使用すればよいかわかりません。MonadMetadata
私はそれがコピー可能/有用かもしれない(インスタンスを持っているtestCompiler
)ように感じるのを見てきましたが、私はここで私のHaskellの深さから外れています...Compiler
MonadMetadata