提交 e591e7d2 编写于 作者: J Justin

Merge pull request #183 from grosser/rake

make bundle && bundle exec rake work so we do not need an explanation of...
task :default do
sh "cd test && ruby test.rb"
end
## Testing
Run `ruby test.rb`.
Run `rake` or if you want to avoid bundler `cd test && ruby test.rb`.
This runs Brakeman against full apps in the `apps` directory and checks the results against what is expected.
## Test Generation
Run `ruby to_test.rb apps/some_app > tests/test_some_app.rb` to generate a test suite with tests for each warning reported.
Run `cd test && ruby to_test.rb apps/some_app > tests/test_some_app.rb` to generate a test suite with tests for each warning reported.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册