Ruby (Cucumber) で並列テストを設定する - AWS CodeBuild

Ruby (Cucumber) で並列テストを設定する

以下は、Linux プラットフォームでの Cucumber による並列テストの実行を示す buildspec.yml のサンプルです。

version: 0.2 batch: fast-fail: false build-fanout: parallelism: 5 ignore-failure: false phases: install: commands: - echo 'Installing Ruby dependencies' - gem install bundler - bundle install pre_build: commands: - echo 'prebuild' build: commands: - echo 'Running Cucumber Tests' - cucumber --init - | codebuild-tests-run \ --test-command "cucumber" \ --files-search "codebuild-glob-search '**/*.feature'" post_build: commands: - echo "Test execution completed"