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.



3429
3430
3431
# File 'lib/platform-api/client.rb', line 3429

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



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

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