Sha256: e53ea23c20e4e28ce417301c8c3291ccac106afe9a84001b837219191339a06c
Contents?: true
Size: 1.27 KB
Versions: 8
Compression:
Stored size: 1.27 KB
Contents
Feature: Trema::Controller#logger.debug Background: Given a file named "hello.rb" with: """ruby class Hello < Trema::Controller def start(_args) logger.debug 'Konnichi Wa' end end """ @sudo Scenario: the default logging level When I trema run "hello.rb" interactively And I trema killall "Hello" Then the output should not contain "Konnichi Wa" And the file "Hello.log" should not contain "DEBUG -- : Konnichi Wa" @sudo Scenario: --logging_level debug When I run `trema run hello.rb --logging_level debug` interactively And I run `sleep 3` And I trema killall "Hello" Then the output should contain "Konnichi Wa" And the file "Hello.log" should contain "DEBUG -- : Konnichi Wa" @sudo Scenario: -v When I run `trema -v run hello.rb` interactively And I run `sleep 3` And I trema killall "Hello" Then the output should contain "Konnichi Wa" And the file "Hello.log" should contain "DEBUG -- : Konnichi Wa" @sudo Scenario: --verbose When I run `trema --verbose run hello.rb` interactively And I run `sleep 3` And I trema killall "Hello" Then the output should contain "Konnichi Wa" And the file "Hello.log" should contain "DEBUG -- : Konnichi Wa"
Version data entries
8 entries across 8 versions & 1 rubygems