Class: TestContext
- Inherits:
-
Object
- Object
- TestContext
- Defined in:
- lib/perfecto-reporting/test/TestContext.rb
Overview
These custom fields override the values in the PerfectoExecutionContext
Defined Under Namespace
Classes: TestContextBuilder
Instance Attribute Summary collapse
-
#customFields ⇒ Object
Returns the value of attribute customFields.
-
#testExecutionTags ⇒ Object
Returns the value of attribute testExecutionTags.
Instance Method Summary collapse
-
#initialize(contextBuilder) ⇒ TestContext
constructor
Create TestContext instance.
Constructor Details
#initialize(contextBuilder) ⇒ TestContext
Create TestContext instance
14 15 16 17 |
# File 'lib/perfecto-reporting/test/TestContext.rb', line 14 def initialize(contextBuilder ) @testExecutionTags = contextBuilder.testExecutionTags @customFields = contextBuilder.customFields end |
Instance Attribute Details
#customFields ⇒ Object
Returns the value of attribute customFields.
11 12 13 |
# File 'lib/perfecto-reporting/test/TestContext.rb', line 11 def customFields @customFields end |
#testExecutionTags ⇒ Object
Returns the value of attribute testExecutionTags.
11 12 13 |
# File 'lib/perfecto-reporting/test/TestContext.rb', line 11 def testExecutionTags @testExecutionTags end |