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.



3496
3497
3498
# File 'lib/platform-api/client.rb', line 3496

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



3503
3504
3505
# File 'lib/platform-api/client.rb', line 3503

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