Class: Detroit::Qed
- Inherits:
-
Tool
- Object
- Tool
- Detroit::Qed
- Defined in:
- lib/detroit-qed.rb
Overview
Run QED tests.
Instance Attribute Summary collapse
-
#files ⇒ Object
Demonstration files (or globs).
-
#format ⇒ Object
Output format.
-
#loadpath ⇒ Object
Paths to be added to $LOAD_PATH.
-
#mode ⇒ Object
Parse mode.
-
#omit ⇒ Object
File patterns to omit.
-
#profile ⇒ Object
Selected profile.
-
#requires ⇒ Object
Libraries to be required.
-
#rooted ⇒ Object
Operate from project root?.
Class Method Summary collapse
Instance Method Summary collapse
-
#station_test ⇒ Object
Attach test method to test assembly station.
- #test ⇒ Object
Instance Attribute Details
#files ⇒ Object
Demonstration files (or globs).
14 15 16 |
# File 'lib/detroit-qed.rb', line 14 def files @files end |
#format ⇒ Object
Output format.
20 21 22 |
# File 'lib/detroit-qed.rb', line 20 def format @format end |
#loadpath ⇒ Object
Paths to be added to $LOAD_PATH.
26 27 28 |
# File 'lib/detroit-qed.rb', line 26 def loadpath @loadpath end |
#mode ⇒ Object
Parse mode.
23 24 25 |
# File 'lib/detroit-qed.rb', line 23 def mode @mode end |
#omit ⇒ Object
File patterns to omit.
17 18 19 |
# File 'lib/detroit-qed.rb', line 17 def omit @omit end |
#profile ⇒ Object
Selected profile.
35 36 37 |
# File 'lib/detroit-qed.rb', line 35 def profile @profile end |
#requires ⇒ Object
Libraries to be required.
29 30 31 |
# File 'lib/detroit-qed.rb', line 29 def requires @requires end |
#rooted ⇒ Object
Operate from project root?
32 33 34 |
# File 'lib/detroit-qed.rb', line 32 def rooted @rooted end |
Class Method Details
.man_page ⇒ Object
83 84 85 |
# File 'lib/detroit-qed.rb', line 83 def self.man_page File.dirname(__FILE__)+'/../man/detroit-qed.5' end |
Instance Method Details
#station_test ⇒ Object
Attach test method to test assembly station.
50 51 52 |
# File 'lib/detroit-qed.rb', line 50 def station_test test end |
#test ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/detroit-qed.rb', line 58 def test = { :omit => omit, :format => format, :mode => mode, :loadpath => loadpath, :requires => requires, :rooted => rooted, :profile => profile, :trace => trace? } session = QED::Session.new(files, ) session.run end |