Skip to content

Clarify gold level quality scale test requirements#1194

Merged
frenck merged 1 commit into
home-assistant:masterfrom
thecode:quality-scale-tests
Jan 24, 2022
Merged

Clarify gold level quality scale test requirements#1194
frenck merged 1 commit into
home-assistant:masterfrom
thecode:quality-scale-tests

Conversation

@thecode
Copy link
Copy Markdown
Member

@thecode thecode commented Jan 24, 2022

Proposed change

Clarify gold level quality scale test requirements as when I read it it was unclear to me that we require tests coverage for all modules, does not change any requirement just make them more clear.

Type of change

  • Document existing features within Home Assistant
  • Document new or changing features which there is an existing pull request elsewhere
  • Spelling or grammatical corrections, or rewording for improved clarity
  • Changes to the backend of this documentation
  • Removed stale or deprecated documentation

Additional information

  • This PR fixes or closes issue: fixes #
  • Link to relevant existing code or pull request:

Copy link
Copy Markdown
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

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

Thanks, @thecode 👍

@frenck frenck merged commit f8b349a into home-assistant:master Jan 24, 2022
@thecode thecode deleted the quality-scale-tests branch January 24, 2022 10:40
- Entities have device info (if available) ([docs](device_registry_index.md#defining-devices))
- Tests for fetching data from the integration and controlling it ([docs](development_testing.md))
- Tests
- Full test coverage for the config flow
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is required for all config_flows regardless of quality scale?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Right, that might be another error. This line was simply moved a bit from above.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, but if I am not wrong, some of the ones that are already merged are missing coverage. I did not add this as a new requirement, just moved it to the "Tests" section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants