开发者

Is there a way to run Valgrind directly on Rspec tests?

开发者 https://www.devze.com 2023-03-17 08:48 出处:网络
I am using Valgrind, and it is pretty amazing.Right now I\'m basically setting up unique ruby files that call the code that I want Valgrind to test.But it\'d be nice if I could just run Valgrind on my

I am using Valgrind, and it is pretty amazing. Right now I'm basically setting up unique ruby files that call the code that I want Valgrind to test. But it'd be nice if I could just run Valgrind on my rspec tests directly, right now when I try I get this error:

.../rubygems.rb:926:in `report_activate_error': 
Could not fi开发者_开发百科nd RubyGem rspec-core (>= 0) (Gem::LoadError)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号