Class: PlatformAPI::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

A single test case belonging to a test run

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TestCase

Returns a new instance of TestCase.



3435
3436
3437
# File 'lib/platform-api/client.rb', line 3435

def initialize(client)
  @client = client
end

Instance Method Details

#list(test_run_id) ⇒ Object

List test cases

Parameters:

  • test_run_id:

    unique identifier of a test run



3442
3443
3444
# File 'lib/platform-api/client.rb', line 3442

def list(test_run_id)
  @client.test_case.list(test_run_id)
end