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 integration tests #9

Open
dmikusa opened this issue Jul 15, 2022 · 1 comment
Open

Write integration tests #9

dmikusa opened this issue Jul 15, 2022 · 1 comment

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Jul 15, 2022

Write up integration tests to validate the fitness of the profile buildpack. These tests should use occam.

Test cases:

  • No profile: it should not detect
  • Profile with env variables: it should detect & source the profile, setting env variables
  • Profile with side-effect: it should detect & source the profile, triggering the side effect
@dmikusa
Copy link
Contributor Author

dmikusa commented Oct 8, 2024

Rather than integration tests, I think we should switch this to using this RFC. The main gist of integration testing is to verify detection behavior. This would allow us to verify detection behavior without mocking anything in Profile CNB but not require full builds.

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

No branches or pull requests

1 participant