covet 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ module Covet
2
+ VERSION = '0.1.0'.freeze
3
+ end
@@ -0,0 +1,24 @@
1
+ # NOTE: Do not require this file from outside of a commandline.
2
+ #
3
+ # Require this file from a commandline directly like this:
4
+ #
5
+ # $ ruby -I"test" -r"covet_collect" my_test1.rb my_test2.rb
6
+ #
7
+ # This will run these tests and collect their coverage information in a run
8
+ # log file.
9
+ #
10
+ # Alternatively, use the `covet` command directly:
11
+ # $ covet -c 'ruby -I"test" my_test1.rb my_test2.rb'
12
+ #
13
+ # Use the first commandline format if possible, and the second only when you can't
14
+ # require a ruby file with a certain command, like with `rake` (1), or if you need
15
+ # to pass options to `covet` (2), like if you're using `rspec` instead of
16
+ # `minitest`:
17
+ #
18
+ # 1) $ covet -c "rake"
19
+ # You can't run '$ rake -r"covet_collect"', rake doesn't have the -r option.
20
+ #
21
+ # 2) $ covet -t "rspec" -c "rake"
22
+ #
23
+ require_relative 'covet'
24
+ Covet.register_coverage_collection!
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: covet
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Luke Gruber
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-11-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rugged
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake-compiler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Uses git and ruby coverage information to determine which tests to run
42
+ from your test suite
43
+ email: luke.gru@gmail.com
44
+ executables:
45
+ - covet
46
+ extensions:
47
+ - ext/covet_coverage/extconf.rb
48
+ extra_rdoc_files: []
49
+ files:
50
+ - Gemfile
51
+ - README.md
52
+ - Rakefile
53
+ - bin/covet
54
+ - ext/covet_coverage/covet_coverage.c
55
+ - ext/covet_coverage/extconf.rb
56
+ - lib/covet.rb
57
+ - lib/covet/cli.rb
58
+ - lib/covet/collection_compressor.rb
59
+ - lib/covet/collection_filter.rb
60
+ - lib/covet/line_changes_vcs.rb
61
+ - lib/covet/log_collection.rb
62
+ - lib/covet/log_file.rb
63
+ - lib/covet/test_runners/minitest.rb
64
+ - lib/covet/test_runners/rspec.rb
65
+ - lib/covet/vcs/git.rb
66
+ - lib/covet/version.rb
67
+ - lib/covet_collect.rb
68
+ homepage:
69
+ licenses:
70
+ - MIT
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 1.9.1
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubyforge_project:
88
+ rubygems_version: 2.4.6
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Regression test selection tool based on coverage information
92
+ test_files: []