Sha256: f7a6b5e44f2553daea34f5d48ccc2b9b2a35e842566cf521471f5f3583d75d49

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"
require "atspi_app_driver"

# Test driver for the MDV application.
class MDVDriver < AtspiAppDriver
  def initialize
    super "mdv"
  end

  def boot(filename)
    super arguments: [filename]
  end
end

describe "The MDV application" do
  before do
    @driver = MDVDriver.new
    @driver.boot("README.md")
  end

  it "starts and can be quit with Ctrl-q" do
    @driver.press_ctrl_q

    status = @driver.cleanup
    _(status.exitstatus).must_equal 0
  end

  after do
    @driver.cleanup
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mdv-0.5.0 test/end_to_end/basic_run_test.rb