Tests and Test Data
Tests and Test Data (Optional)
There are cucumber smoke tests located at bloomreach-feed/system-tests
. See README.md for steps for running the tests. Follow the steps below for including the test data required to run the cucumber tests.
Adding the Bloomreach Feed test data
In the
ep-commerce/extensions/database/ext-data/pom.xml
file, add the following dependency:<dependency> <groupId>com.elasticpath</groupId> <artifactId>feed-uploader-test-data</artifactId> <type>zip</type> <version>805.0.11</version> </dependency>
In the
ep-commerce/extensions/database/ext-data/pom.xml
file, add the following to artifactItems:<artifactItem> <groupId>com.elasticpath</groupId> <artifactId>feed-uploader-test-data</artifactId> <type>zip</type> <version>805.0.11</version> </artifactItem>
In the
ep-commerce/extensions/database/ext-data/src/main/resources/data/liquibase-changelog.xml
file, add the following:
<include file="feed-uploader-test-data/liquibase-changelog.xml" relativeToChangelogFile="true" />