Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

LINQPadでユニットテストを書くには?

サマリー

LINQPadはv.6.9からxUnitをサポートしていて、ユニットテストが書けます。

https://www.linqpad.net/LINQPad6.aspx

You can now add xunit test support to your query via new option on the Query menu. This adds the required references, a runner, and a sample test method to get you started. There's also a option on the Query menu Alt+Shift+T to execute all tests.

この記事では、LINQPadでのユニットテストの書き方を説明します。

続きを読む

Terraform作業ディレクトリの容量を節約するには?

問題

ディスク領域不足のアラートが出た。

terraformerのimportを何度も繰り返したせいで、作業ディレクトリ全部にTerrafromのプロバイダープラグインがダウンロードされていたのが原因。

サマリ―

Terraform作業ディレクトリの容量を節約するには、プラグインをキャッシュするとよい。

続きを読む