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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a section about testing structural directive #40382

Open
dev054 opened this issue Jan 10, 2021 · 2 comments
Open

Add a section about testing structural directive #40382

dev054 opened this issue Jan 10, 2021 · 2 comments
Labels
area: adev Angular.dev documentation docsarea: testing Use only with "comp: docs" for issues with documentation on testing.. P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Milestone

Comments

@dev054
Copy link

dev054 commented Jan 10, 2021

馃摎 Docs or angular.io bug report

Description

Similar to what we have in https://angular.io/guide/testing-attribute-directives, I want to suggest the creation of a section about testing structural directive.

Related to #32340.

@ngbot ngbot bot added this to the needsTriage milestone Jan 11, 2021
@jelbourn jelbourn added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Jan 13, 2021
@ngbot ngbot bot modified the milestones: needsTriage, Backlog Jan 13, 2021
@jelbourn
Copy link
Member

jelbourn commented Jan 13, 2021

@aikidave I think that the existing content under Testing Attribute Directives is actually just a plain "Testing Directives" content. Off the top of my head, I don't think there's anything special to testing regular directives vs. structural directives. We could, though, add an example for testing a structural directive.

@kapunahelewong
Copy link
Contributor

Capturing this here. This issue's point could potentially tie into the info on template type checking (TTC) in the structural directives guide. That info also applies to attribute directives. In this comment, @jelbourn mentions moving the TTC info into a more general location. Maybe together (if relevant) we would have enough material to constitute a new document. Just thinking out loud here.

@aikithoughts aikithoughts removed their assignment May 21, 2021
@bob-watson bob-watson added docsarea: testing Use only with "comp: docs" for issues with documentation on testing.. doc-topic: dev-guides labels Jun 29, 2022
@JeanMeche JeanMeche added area: adev Angular.dev documentation and removed area: aio labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: adev Angular.dev documentation docsarea: testing Use only with "comp: docs" for issues with documentation on testing.. P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

8 participants