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.



3469
3470
3471
# File 'lib/platform-api/client.rb', line 3469

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



3476
3477
3478
# File 'lib/platform-api/client.rb', line 3476

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