Skip to content
Discussion options

You must be logged in to vote

The "test case output" panel displays content when you use the TestRun.appendOutput() method with a specific test case parameter. Here's the precise implementation:

// In your test controller's run handler
const testRun = controller.createTestRun(request);

// For individual test case output
testRun.appendOutput('Test starting execution...\n', undefined, specificTestCase);

// During test execution
testRun.appendOutput('Assertion passed: value meets criteria\n', undefined, specificTestCase);

// For error output
testRun.appendOutput('ERROR: Timeout reached after 5000ms\n', undefined, specificTestCase);

// Mark test completion
testRun.passed(specificTestCase, duration);

Critical details:

  • T…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@akwodkiewicz
Comment options

@luis-juno
Comment options

Answer selected by akwodkiewicz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants