Skip to content

Commit f46960c

Browse files
Include pom.xml code snippet for API dependency in README
1 parent 0bdbcf1 commit f46960c

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,19 @@ Most users only need:
3535

3636
## API
3737

38-
User tests should compile against the `coverage-integration-api` module and import classes from `com.parasoft.coverage.integration.api`. The core module is internal.
38+
User tests should compile against the `coverage-integration-api` module and import classes from `com.parasoft.coverage.integration.api`. The `coverage-integration-core` module is for internal use only.
39+
40+
Add the following dependency to your Maven project:
41+
```xml
42+
<dependencies>
43+
<dependency>
44+
<groupId>com.parasoft</groupId>
45+
<artifactId>coverage-integration-api</artifactId>
46+
<version>${coverage-integration.version}</version>
47+
<scope>test</scope>
48+
</dependency>
49+
</dependencies>
50+
```
3951

4052
Use `CoverageIntegration#getCurrentTestOperatorIdHeader()` to get the `Baggage` header value that contains the current `test-operator-id` returned by the CTP `/test/start` API.
4153

0 commit comments

Comments
 (0)