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

Create tests for func pack #4253

Open
3 tasks
aishwaryabh opened this issue Feb 4, 2025 · 0 comments
Open
3 tasks

Create tests for func pack #4253

aishwaryabh opened this issue Feb 4, 2025 · 0 comments

Comments

@aishwaryabh
Copy link
Contributor

aishwaryabh commented Feb 4, 2025

Create tests for creating a function app in each runtime and then running func pack to make sure that it zips up in the intended output directory. This would ensure that func pack is in a good state today and catch any regressions (if any). We also want to isolate any stack specific logic and make this extensible.

The steps that would need to run in the test are the following:

  • Create a function app in specified runtime
  • Attempt to run func pack and check if zip was created in correct output directory
  • [Stretch goal] Run an Az CLI deployment at the end of the test to test if pack command executed correctly

Also create tests for the scenario where we have a .funcignore specified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant