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.



3328
3329
3330
# File 'lib/platform-api/client.rb', line 3328

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



3335
3336
3337
# File 'lib/platform-api/client.rb', line 3335

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