Package io.qameta.allure.testfilter
Class TestPlanReader
java.lang.Object
io.qameta.allure.testfilter.TestPlanReader
Reads Allure test plans without exposing the bundled JSON implementation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a reader for supported Allure test-plan schema versions. -
Method Summary
-
Constructor Details
-
TestPlanReader
public TestPlanReader()Creates a reader for supported Allure test-plan schema versions.
-
-
Method Details
-
read
Reads a test plan from a file.- Parameters:
path- the file to read.- Returns:
- parsed test plan.
- Throws:
IOException- if the file cannot be read or parsed.
-
read
Reads a test plan from a stream.- Parameters:
stream- the stream to read.- Returns:
- parsed test plan.
- Throws:
IOException- if the stream cannot be parsed.
-