Skip to content

Commit

Permalink
test rspec tags and test cases at the same time
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturT committed Dec 28, 2023
1 parent 27247ef commit 69d1491
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/knapsack_pro_queue_rspec_record_first_run
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ BRANCH_NAME=fake-branch
#export KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true

#export EXTRA_TEST_FILES_DELAY=10 # seconds
# uncomment the following line to verify if Knapsack Pro raises an exception preventing the RSpec --tag usage
#export KNAPSACK_PRO_RSPEC_SPLIT_BY_TEST_EXAMPLES=true

KNAPSACK_PRO_ENDPOINT=http://api.knapsackpro.test:3000 \
Expand All @@ -33,4 +34,4 @@ KNAPSACK_PRO_ENDPOINT=http://api.knapsackpro.test:3000 \
KNAPSACK_PRO_BRANCH=$BRANCH_NAME \
KNAPSACK_PRO_CI_NODE_TOTAL=${2:-2} \
KNAPSACK_PRO_CI_NODE_INDEX=${1:-0} \
bundle exec rake "knapsack_pro:queue:rspec[--format d]"
bundle exec rake "knapsack_pro:queue:rspec[--format d --tag xfocus]"

0 comments on commit 69d1491

Please sign in to comment.