Changes between Initial Version and Version 1 of Ticket #27365, comment 9
- Timestamp:
- 03/24/2014 08:10:26 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27365, comment 9
initial v1 1 1 The combinations to test in order to trigger every possible combination of return values is quite high. This is because the entire test stack would have to involve every possible failure condition of `request_filesystem_credentials()`, `download_url()`, `unzip_file()`, and other complex functions. 2 2 3 I don't think that this is necessary to do thisfull stack test as looking through the code itself shows the problem is just how the returns are handled. I went through and simplified the entire call stack for a `bulk_upgrade()` function and represented it as pseudocode that focuses on just the return values. You can see that at the end of this comment.3 I don't think that it is necessary to do a full stack test as looking through the code itself shows the problem is just how the returns are handled. I went through and simplified the entire call stack for a `bulk_upgrade()` function and represented it as pseudocode that focuses on just the return values. You can see that at the end of this comment. 4 4 5 5 Each USED comment represents a potential return value that is represented in the data returned from the `bulk_upgrade()` call. Each IGNORED comment represents a potential return value that is missing in the data returned from the `bulk_upgrade()` call.