-
Notifications
You must be signed in to change notification settings - Fork 54
Add E2E tests using CLI from storage account #75
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
Comments
cc: @soninaren |
@pragnagopa We don't use |
How do you run E2E tests? |
I don't know 😄 that's why I was asking if that's what you want for this issue. We are not using |
Yes. Please see https://github.com/Azure/azure-functions-java-worker/blob/dev/appveyor.yml for reference |
Also, please see https://github.com/Azure/azure-functions-java-worker/tree/dev/endtoendtests/Azure.Functions.Java.Tests.E2E if you can just reuse that project. Ideally, I would maintain one E2E test project that can be reused across all the language workers. |
Great, I will take a look at the project. A quick glance tells me it's using |
cc: @paulbatum Thanks I will look into it. Here is the flow E2E tests
you can add these either as a nightly runs or run them as part of every commit/PR. Next steps would be
As long as CI follows this pattern we are OK. If maintaining a single E2E test project makes sense, I will refactor the tests later. |
|
What's the proper scoping of this work item? What do we need to achieve for preview? |
We have these now for HttpTrigger. We can probably close this. Although I don't know if the expectation is having tests for every trigger... And how we'd do that (how do we trigger a blob trigger without Azure?) @pragnagopa any thoughts? |
Let's sync with them on this next week. |
Apologies I missed last weeks ping on this issue. Yes. We do need tests for the supported triggers. Please see Azure.Functions.Java.Tests.E2E for a sample E2E test project. This is a requirement for any release. Without test coverage, there is a huge risk of regressions both ways
@TylerLeonhardt already added coverage for HttpTriggers. When you add support for rest of the triggers, this work item is part of development
|
Talked to @paulbatum about this in the sync this week - he said that we can probably get some help setting these E2E tests up (creating the resources in Azure, supplying the subscription). Ideally, we should be able to grab the E2E tests from Java or Node and run them with a PowerShell Function App. cc @fabiocav |
CLI builds hat include the latest functions runtime are available on
where platform in
linux-x64, osx-x64, win-x64, win-x86
You can also get the version from
Update CI to use latest CLI.
The text was updated successfully, but these errors were encountered: