VSCodeを起動して「拡張機能」から「Python Test Explorer for Visual Studio Code」を検索して、インストールします。 VSCodeの左側のパネルの「テスト」を選択します。 「Configure Python Tests」というボタンが表示されるので「Configure Python Tests」を選択します。 テスティングフレームワークとして unittest pytest の2つの選択肢が表示されますので「Pytest pytest framework」を選択します。 次にテストケースファイルが含まれているディレクトリを選択します。 「ルートディレクトリ」を選択します。 このディレクトリには前回作成したテストケースのファイル(test_sample.py)が格納されていると仮定します。 正しくテストケースが認識されると「テストエクスプローラ」に