Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

UTY-2508: enable command tests #1437

Merged
merged 23 commits into from
Jul 29, 2020
Merged

Conversation

BryanJY-Wong
Copy link
Contributor

Description

Created a MockCommandSender to inject into CommandSystem during construction of the MockWorld. This allows generating stub responses either singularly through a known CommandRequestId or generating all responses for all "sent" requests.

Tests

Created example use case using the Launcher component.

Documentation

How is this documented (for example: release note, upgrade guide, feature page, in-code documentation)?

Did you remember a changelog entry?

Primary reviewers

If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

@improbable-prow-robot improbable-prow-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/no-ticket Indicates a PR has no corresponding JIRA ticket labels Jul 22, 2020
@improbable-prow-robot improbable-prow-robot added A: build-system Area: Build system feature module A: core Area: Core GDK labels Jul 22, 2020
@BryanJY-Wong BryanJY-Wong changed the base branch from master to develop July 22, 2020 11:51
@improbable-prow-robot improbable-prow-robot added A: playground Area: Playground size/XL Denotes a PR that changes 300-599 lines, ignoring generated files. A: tooling Area: Tooling size/L Denotes a PR that changes 150-299 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 300-599 lines, ignoring generated files. labels Jul 22, 2020
@BryanJY-Wong BryanJY-Wong changed the title Feature/enable command tests UTY-2508: enable command tests Jul 22, 2020
@improbable-prow-robot improbable-prow-robot removed the jira/no-ticket Indicates a PR has no corresponding JIRA ticket label Jul 22, 2020
@improbable-prow-robot
Copy link

Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/UTY-2508

@BryanJY-Wong BryanJY-Wong self-assigned this Jul 22, 2020
@BryanJY-Wong BryanJY-Wong force-pushed the feature/enable-command-tests branch from 04043c6 to 56f0bc2 Compare July 22, 2020 12:46
@BryanJY-Wong BryanJY-Wong changed the title UTY-2508: enable command tests UTY-2508: enable command tests (WIP) Jul 22, 2020
@improbable-prow-robot improbable-prow-robot added size/XL Denotes a PR that changes 300-599 lines, ignoring generated files. and removed size/L Denotes a PR that changes 150-299 lines, ignoring generated files. labels Jul 23, 2020
Copy link
Contributor

@jamiebrynes7 jamiebrynes7 left a comment

Choose a reason for hiding this comment

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

Some structural and naming suggestions, but this is looking good

@BryanJY-Wong BryanJY-Wong force-pushed the feature/enable-command-tests branch from 5d3f25f to c101ce6 Compare July 27, 2020 11:55
@BryanJY-Wong BryanJY-Wong force-pushed the feature/enable-command-tests branch from 51cb38a to b8a444e Compare July 29, 2020 14:03
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

65.7% 65.7% Coverage
0.0% 0.0% Duplication

@BryanJY-Wong BryanJY-Wong requested a review from paulbalaji July 29, 2020 15:00
@BryanJY-Wong BryanJY-Wong merged commit b75637d into develop Jul 29, 2020
@improbable-prow-robot improbable-prow-robot deleted the feature/enable-command-tests branch July 29, 2020 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: build-system Area: Build system feature module A: core Area: Core GDK A: playground Area: Playground A: tooling Area: Tooling jira/UTY size/XL Denotes a PR that changes 300-599 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants