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

Update func init to create test-compatible folder structure #1546

Open
maiqbal11 opened this issue Sep 9, 2019 · 4 comments
Open

Update func init to create test-compatible folder structure #1546

maiqbal11 opened this issue Sep 9, 2019 · 4 comments

Comments

@maiqbal11
Copy link
Contributor

Currently, func init does not create a folder structure that clearly delineates test code from source code. Ideally, we would have the __app__ (function app folder) under a root folder which also contains a separate folder for tests. See Azure/azure-functions-python-worker#469 for more background on why this is needed. We imagine that the final structure would like what @brettcannon has here: https://github.com/microsoft/pvscbot/tree/azure-functions.

@ahmedelnably
Copy link
Contributor

This is a P1 for Python but not a P1 for Core tools, hence removing the label

@kulkarnisonia16
Copy link

This is a P1 for Python post GA - and one of the two big changes we are tracking for November.

@empz
Copy link

empz commented Apr 10, 2020

This is causing a lot of headaches. Please try to update the CLI to generate the project with the recommended structure.
MicrosoftDocs/azure-docs#50089 (comment)

@maiqbal11
Copy link
Contributor Author

maiqbal11 commented Apr 11, 2020

@Hazhzeng @ankitkumarr

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

4 participants