Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Comments

chore: add integration tests#32

Open
Akarshit wants to merge 5 commits intotrunkfrom
akarshit-chore-integration-test
Open

chore: add integration tests#32
Akarshit wants to merge 5 commits intotrunkfrom
akarshit-chore-integration-test

Conversation

@Akarshit
Copy link
Contributor

Issue

Currently there are no integration tests to check a plugin update with the reaction version

Solution

This PR adds a circle CI step that runs the integration tests on the plugin.

Breaking changes

None expected

Testing

  1. Go to the CircleCI jobs, in the logs you can see the integration tests being run.

Signed-off-by: Akarshit Wal <akarshitwal@gmail.com>
@Akarshit Akarshit requested a review from a team September 21, 2021 17:19
Signed-off-by: Alvaro Bueno <alvaro.bueno@mailchimp.com>
Signed-off-by: Alvaro Bueno <alvaro.bueno@mailchimp.com>
Signed-off-by: Alvaro Bueno <alvaro.bueno@mailchimp.com>
@brent-hoover
Copy link
Collaborator

@Akarshit Can you revisit this PR and get it working? We need some tests on this plugin working.

Copy link
Collaborator

@brent-hoover brent-hoover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both build and tests are failing here

command: |
sudo apt-get install -y mongodb
mongo --eval "rs.initiate()"
npx --quiet --package @reactioncommerce/ci-scripts@1.12.2 run-integration-tests
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this command runs all integration tests, not just the ones in this plugin

@Akarshit Akarshit self-assigned this Mar 1, 2022
@Akarshit
Copy link
Contributor Author

Akarshit commented Mar 1, 2022

This same config files seems to work on other api-plugins and fails on this one. Will return to fix this later.

Signed-off-by: Mohan Narayana <mohan.narayana@mailchimp.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants