Project

Profile

Help

Task #7187

./scripts/run_unit_tests.sh does not give exit_code = 1 in case of typo in test name

Added by Mark Zaslavskiy over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
mdbci testing
Sprint/Milestone:
Start date:
04.07.2016
Due date:
% Done:

100%

Estimated time:
1:00 h
Target branch:
Test scenario:

# 1. Add some incorrect test to ./spec/unit_tasks.rb or ./spec/integration_tasks.rb :
task :task_zero do |t| RakeTaskManager.new(t).run_unit end

Rake::Task[:task_zero].execute
# Or delete some test.
# 2. Run units or some other tests, not existing tests will be show in failed tests and echo $? => 1:
./scripts/run_unit_tests.sh
./scripts/run_integration_tests.sh

History

#2 Updated by Ilfat Kinyaev over 5 years ago

  • % Done changed from 0 to 90

#3 Updated by Ilfat Kinyaev over 5 years ago

  • Status changed from New to Review
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy
  • % Done changed from 90 to 100

#4 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF