ADD: simplecov

This commit is contained in:
Jake Webster
2026-01-22 14:23:08 +10:00
parent ddc27c8880
commit 9b22d92265
3 changed files with 15 additions and 0 deletions

View File

@@ -3,6 +3,17 @@
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
# Coverage must start before loading application code.
require 'simplecov'
SimpleCov.start do
add_filter '/spec/'
add_group 'Core', 'core'
add_group 'Extensions', 'extensions'
add_group 'Modules', 'modules'
track_files '{core,extensions,modules}/**/*.rb'
end
# Set external and internal character encodings to UTF-8
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8