Sha256: 49b253e1e5dc37764863777e2a849c493e0afa928379ccdb5b64c353a58d285e

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'test_helper'

class AgentSetupInitTest < Minitest::Test
  def test_status
    output = `./exe/appmap-agent-status`
    assert_equal 0, $CHILD_STATUS.exitstatus
    expected = {
      :properties => {
        :config => {
          :app => 'AppMap Rubygem',
          :present => true,
          :valid => true
        },
        :project => {
          :agentVersion => AppMap::VERSION,
          :language => 'ruby',
          :remoteRecordingCapable => false,
          :integrationTests => false
        }
      }
    }.to_json
    assert_equal expected, output.strip
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appmap-0.57.1 test/agent_setup_status_test.rb