mahemoff
mahemoff

Reputation: 46409

Survive segmentation fault with "rake test"

I have some Rails tests, using Minitest, which unfortunately trigger a segfault. This breaks execution of remaining tests.

Until I can fix the segfaults, what's a performant way to ensure "rake test" will run all tests instead of aborting on the first encounter of a segfault?

Upvotes: 2

Views: 199

Answers (1)

mikwat
mikwat

Reputation: 533

The neversaydie gem will let you rescue from segmentation faults: neversaydie gem.

Upvotes: 1

Related Questions