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

Testing and reports #54

Merged
merged 25 commits into from
Mar 8, 2021
Merged

Testing and reports #54

merged 25 commits into from
Mar 8, 2021

Conversation

AA-Turner
Copy link
Member

Couple of things in this one

  • Move testing to parameterised using hypothesis. Shouldn't be any noticable difference, but this will be helpful for identifying edge cases etc as we move forwards (and increase test coverage!)

  • Add functionality relating to Clear workflow for supporting custom shapefiles #51. I'm still not happy with this as (1) it requires regenerating both the merged census extract and the reduced ONS file, and (2) it doesn't preserve population sizes etc. (2) is an easier fix, for (1) the ideal is to dynamically hook in without any pre-setup etc.

WIP for now as not ready for merging

@AA-Turner AA-Turner requested a review from ox-baloo May 14, 2020 22:30
@github-actions github-actions bot added scripts tests Improvements or additions to testing labels May 14, 2020
@AA-Turner AA-Turner self-assigned this May 14, 2020
@AA-Turner AA-Turner linked an issue May 14, 2020 that may be closed by this pull request
Copy link
Collaborator

@ox-baloo ox-baloo left a comment

Choose a reason for hiding this comment

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

Looks good


# Folder within the ONS Postcode Directory archive holding names and codes files
names_codes_root = DATA_ROOT / self.settings["ONS Names and codes folder"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

did you mean to remove DATA_ROOT?

Copy link
Member Author

Choose a reason for hiding this comment

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


# Folder within the ONS Postcode Directory archive holding names and codes files
names_codes_root = DATA_ROOT / Path(self.settings["ONS Names and codes folder"]).resolve()
Copy link
Collaborator

Choose a reason for hiding this comment

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

did you mean to remove DATA_ROOT?

@AA-Turner AA-Turner changed the title [WIP] Testing and reports Testing and reports Mar 8, 2021
@AA-Turner AA-Turner merged commit 280e1ac into master Mar 8, 2021
@AA-Turner AA-Turner deleted the testing-and-reports branch March 8, 2021 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scripts tests Improvements or additions to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clear workflow for supporting custom shapefiles
2 participants