-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[feat] initial impl of apptesting #8799
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
Conversation
joehan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Some minor comments but overall LGTM
| apiOrigin: appTestingOrigin(), | ||
| apiVersion: "v1alpha", | ||
| operationResourceName: operationName, | ||
| masterTimeout: 30 * 60 * 1000, // 30 minutes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
30 minutes is quite a long time - what is the usual amount of time these run for?
If it is particularly long (ie 5+ minutes), we probably should call that out in the logs in apphosting-execute.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5-10 minutes would probably be 'normal', but since this could be a large number of complex integration tests, it's possible it could be longer. I have a generic "this can take a while" message in the execute command, is there something more specific you would want to see there?
|
Oh, also add an entry to CHANGELOG.md! |
…o TestCaseInvocation
Description
Initial implementation of firebase apptesting commands.
Scenarios Tested
We've tested firebase apptesting:init and firebase apptesting:execute through a team bug bash.
Sample Commands
firebase apptesting:init - initializes the project for apptesting
firebase apptesting:execute - executes a suite of tests against a URL