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

Feature/rest history integration tests #68

Merged

Conversation

tiholic
Copy link
Contributor

@tiholic tiholic commented Nov 24, 2020

Adding integration tests for Rest History

  1. Test history retrieval with default params
  2. Test pagination
  3. Test with non-default direction
  4. Test with start
  5. Test with start and end

@tiholic tiholic self-assigned this Nov 24, 2020
@tiholic tiholic added this to the Stage 2 milestone Nov 24, 2020
@tiholic tiholic force-pushed the feature/rest-history-integration-tests branch from e25c179 to 3007dea Compare November 24, 2020 15:01
@tiholic tiholic force-pushed the feature/rest-history-integration-tests branch 2 times, most recently from 27f732f to 000915a Compare November 24, 2020 16:16
@tiholic tiholic force-pushed the feature/lint-dart branch from fd08700 to ec1e2e3 Compare January 9, 2021 07:31
@tiholic tiholic force-pushed the feature/rest-history-integration-tests branch from 7fff784 to 1b994a9 Compare January 9, 2021 09:51
@tiholic tiholic force-pushed the feature/rest-history-integration-tests branch from 1b994a9 to a8bc0a6 Compare January 12, 2021 08:44
Base automatically changed from feature/lint-dart to integration/stage-2 February 15, 2021 08:59
Copy link
Contributor

@QuintinWillison QuintinWillison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've not looked at the test implementations in detail for lack of time, however addition of any tests will always be better than having no tests so I'll trust in the checks passing. 😁

await Future.delayed(const Duration(seconds: 2));

final time1 = DateTime.now();
//TODO(tiholic) iOS fails without this delay
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please ensure there's an issue for these TODO comments relating to the delays required so we can keep track of this technical debt.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#86

static const String restPublishWithAuthCallback =
'restPublishWithAuthCallback';
// TODO(tiholic) handle restHistoryWithAuthCallback
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, it looks like we should manage this deferred work with an issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#87

@QuintinWillison QuintinWillison merged commit 0337ca8 into integration/stage-2 Feb 15, 2021
@QuintinWillison QuintinWillison deleted the feature/rest-history-integration-tests branch February 15, 2021 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants