Class: Capsium::Package::Testing::Context
- Inherits:
-
Data
- Object
- Data
- Capsium::Package::Testing::Context
- Defined in:
- lib/capsium/package/testing/context.rb,
sig/capsium/package/testing/context.rbs
Overview
What a test run needs: the extracted package directory and, when route tests run, the base URL of the reactor serving the package.
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#package_path ⇒ Object
readonly
Returns the value of attribute package_path.
Instance Method Summary collapse
-
#initialize ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize ⇒ Context
Returns a new instance of Context.
10 |
# File 'sig/capsium/package/testing/context.rbs', line 10
def initialize: (package_path: String package_path, base_url: String? base_url) -> void
|
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url
8 9 10 |
# File 'lib/capsium/package/testing/context.rb', line 8 def base_url @base_url end |
#package_path ⇒ Object (readonly)
Returns the value of attribute package_path
8 9 10 |
# File 'lib/capsium/package/testing/context.rb', line 8 def package_path @package_path end |