Skip to content

CV3-68 Refactor fixtures folder #515

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adafia
Copy link
Contributor

@adafia adafia commented Nov 28, 2019

Description

Some fixtures files have more than 250 lines which is flagged by code climate as bad practice. Reorganise the fixture files by breaking big files into smaller ones.

Type of change

Please select the relevant option

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Others (cosmetics, styling, improvements)
  • This change requires a documentation update

How Has This Been Tested?

  • Unit
  • Integration
  • End-to-end

How to Test

  • Check the codeclimate report to see if any file from the fixtures folder violates the file-line-limit
  • Follow the instructions on the readme.md file on running tests. Check to see if tests run successfully

Checklist

  • My changes generate no new warnings
  • My code follows the style guidelines of this project
  • I have linted my code prior to submission
  • Existing unit tests pass locally with my changes
  • Implementation works according to expectations

JIRA

CV3-68

@adafia adafia force-pushed the refactor/CV3-68-refactor-fixtures branch from e2ee280 to d9c3d84 Compare November 28, 2019 11:47
@adafia adafia added the wip label Nov 28, 2019
@adafia adafia force-pushed the refactor/CV3-68-refactor-fixtures branch 17 times, most recently from e225efe to a3934ae Compare December 5, 2019 08:26
@adafia adafia added peer review and removed wip labels Dec 5, 2019
Copy link
Contributor

@shaluchandwani shaluchandwani left a comment

Choose a reason for hiding this comment

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

Good work on the PR @adafia. Please take note of a few changes I've requested for. I have tried to make it precise and to the point.

@adafia adafia force-pushed the refactor/CV3-68-refactor-fixtures branch 2 times, most recently from 010ecb1 to 8dbefb1 Compare December 6, 2019 08:43
@adafia adafia removed the request for review from mifeille December 6, 2019 08:44
@adafia adafia force-pushed the refactor/CV3-68-refactor-fixtures branch from 8dbefb1 to 88d3934 Compare December 6, 2019 08:49
Copy link
Contributor

@shaluchandwani shaluchandwani left a comment

Choose a reason for hiding this comment

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

Good Work on the PR @adafia.

@adafia adafia added TTL Review Technical Team Lead Review and removed peer review labels Dec 9, 2019
@adafia adafia requested a review from joshuaocero December 9, 2019 07:20
@adafia adafia force-pushed the refactor/CV3-68-refactor-fixtures branch from 88d3934 to 972e057 Compare December 10, 2019 12:24
@adafia adafia added peer review and removed TTL Review Technical Team Lead Review labels Dec 10, 2019
Copy link
Contributor

@Ramadhan0 Ramadhan0 left a comment

Choose a reason for hiding this comment

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

Good work @adafia

@adafia adafia removed the request for review from MCFrank16 December 12, 2019 11:44
@adafia adafia force-pushed the refactor/CV3-68-refactor-fixtures branch 2 times, most recently from 833576f to b969e9d Compare December 18, 2019 18:28
 - split fixture files in question to query and response
 - add output builder to dynamically build fixture outputs

[Finishes CV3-68]
@adafia adafia force-pushed the refactor/CV3-68-refactor-fixtures branch from b969e9d to 82e42b7 Compare December 18, 2019 18:31
@adafia adafia added TTL Review Technical Team Lead Review and removed peer review labels Dec 19, 2019
@adafia adafia removed the request for review from mifeille December 20, 2019 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TTL Review Technical Team Lead Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants