Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a script to run e2e test #237

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nprizal
Copy link
Contributor

@nprizal nprizal commented Dec 10, 2024

Description

We now have four runners supported in bktec. Since we have sample projects for each test runner that we use for unit and integration tests, I thought it would be great to use those sample projects to run end-to-end tests. This PR adds a script that runs bktec (using go run …) against a sample project located in internal/runner/testdata.

To run the e2e test:

#.bin/e2e <runner> <parallel-job>
.bin/e2e rspec 0

@nprizal nprizal requested a review from a team as a code owner December 10, 2024 22:03
@nprizal nprizal self-assigned this Dec 10, 2024
@@ -0,0 +1,5 @@
# frozen_string_literal: true
Copy link
Contributor Author

@nprizal nprizal Dec 10, 2024

Choose a reason for hiding this comment

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

I added this so we can run bktec from this project using the default command bundle exec rspec ...

@nprizal nprizal force-pushed the create_script_for_e2e_test branch from 93a3c59 to 6c9f25f Compare December 10, 2024 22:09
@nprizal nprizal requested review from wooly and niceking December 17, 2024 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant