File tree Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 6
6
.yardoc
7
7
# Mac OS X files
8
8
.DS_Store
9
+ # simplecov coverage data
10
+ coverage
9
11
data /meterpreter /ext_server_pivot.dll
10
12
data /meterpreter /ext_server_pivot.x64.dll
11
13
doc
Original file line number Diff line number Diff line change 24
24
group :test do
25
25
# testing framework
26
26
gem 'rspec'
27
+ # code coverage for tests
28
+ # any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
29
+ gem 'simplecov' , '0.5.4' , :require => false
27
30
end
Original file line number Diff line number Diff line change 45
45
rspec-expectations (2.11.3 )
46
46
diff-lcs (~> 1.1.3 )
47
47
rspec-mocks (2.11.3 )
48
+ simplecov (0.5.4 )
49
+ multi_json (~> 1.0.3 )
50
+ simplecov-html (~> 0.5.3 )
51
+ simplecov-html (0.5.3 )
48
52
slop (3.3.3 )
49
53
tzinfo (0.3.33 )
50
54
yard (0.8.2.1 )
@@ -60,4 +64,5 @@ DEPENDENCIES
60
64
rake
61
65
redcarpet
62
66
rspec
67
+ simplecov (= 0.5.4 )
63
68
yard
Original file line number Diff line number Diff line change 8
8
lib_pathname = root_pathname . join ( 'lib' )
9
9
$LOAD_PATH. unshift ( lib_pathname . to_s )
10
10
11
+ # must be first require and started before any other requires so that it can measure coverage of all following required
12
+ # code. It is after the rubygems and bundler only because Bundler.setup supplies the LOAD_PATH to simplecov.
13
+ require 'simplecov'
14
+ SimpleCov . start
15
+
11
16
require 'rspec/core'
12
17
13
18
# Requires supporting ruby files with custom matchers and macros, etc,
You can’t perform that action at this time.
0 commit comments