René's URL Explorer Experiment


Title: feat(core): add utility for testing directives by crisbeto · Pull Request #70453 · angular/angular · GitHub

Open Graph Title: feat(core): add utility for testing directives by crisbeto · Pull Request #70453 · angular/angular

X Title: feat(core): add utility for testing directives by crisbeto · Pull Request #70453 · angular/angular

Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

Open Graph Description: Adds TestBed.createDirective to make testing directives easier. Fixes #54164.

X Description: Adds TestBed.createDirective to make testing directives easier. Fixes #54164.

Opengraph URL: https://github.com/angular/angular/pull/70453

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3eeba5c2-3111-9ed9-17ae-5eb68778e90b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B84:E9D16:7AF534:9B5FEA:6B011C27
html-safe-nonce388183a38c9b6af8e9b79330a45cdc5a2228437d61067001d112e7a213022f73
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Qjg0OkU5RDE2OjdBRjUzNDo5QjVGRUE6NkIwMTFDMjciLCJ2aXNpdG9yX2lkIjoiNDM1MzA2OTU3MjQyNTg0OTg5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf40978cb82b940f5d1acabc27e9277748569796441474f91934bd499318d215b
hovercard-subject-tagpull_request:4384613920
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/angular/angular/70453/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/54ee0c89834928c93e1b5f9f416b82952a34a010d422efd22e2b6e608d2c9928/angular/angular/pull/70453
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/54ee0c89834928c93e1b5f9f416b82952a34a010d422efd22e2b6e608d2c9928/angular/angular/pull/70453
og:image:altAdds TestBed.createDirective to make testing directives easier. Fixes #54164.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecrisbeto
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/angular/angular/pull/70453#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F70453
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F70453
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/70453
Reloadhttps://github.com/angular/angular/pull/70453
Reloadhttps://github.com/angular/angular/pull/70453
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
mattrbeckhttps://github.com/mattrbeck
angular:mainhttps://github.com/angular/angular/tree/main
crisbeto:create-directivehttps://github.com/crisbeto/angular/tree/create-directive
Conversationhttps://github.com/angular/angular/pull/70453
Commits1 (1)https://github.com/angular/angular/pull/70453/commits
Checkshttps://github.com/angular/angular/pull/70453/checks
Files changedhttps://github.com/angular/angular/pull/70453/files
feat(core): add utility for testing directiveshttps://github.com/angular/angular/pull/70453#top
mattrbeckhttps://github.com/mattrbeck
angular:mainhttps://github.com/angular/angular/tree/main
crisbeto:create-directivehttps://github.com/crisbeto/angular/tree/create-directive
https://github.com/crisbeto
crisbetohttps://github.com/crisbeto
Aug 28, 2026https://github.com/angular/angular/pull/70453#issue-5278118963
#54164https://github.com/angular/angular/issues/54164
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/crisbeto
crisbetohttps://github.com/crisbeto
action: review https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20review%22
target: minor https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22target%3A%20minor%22
Aug 28, 2026https://github.com/angular/angular/pull/70453#event-30164004068
https://github.com/apps/angular-robot
angular-robothttps://github.com/apps/angular-robot
detected: feature https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22detected%3A%20feature%22
area: core https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
Aug 28, 2026https://github.com/angular/angular/pull/70453#event-30164011755
https://github.com/apps/ngbot
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
Aug 28, 2026https://github.com/angular/angular/pull/70453#event-30164020200
https://github.com/crisbeto
crisbetohttps://github.com/crisbeto
force-pushedhttps://github.com/angular/angular/compare/ae60f3b97628d0c75e1a3ba24aa437376f198091..074f531fad49e71c2b8cd5be580cfd7e43509a1e
ae60f3bhttps://github.com/angular/angular/commit/ae60f3b97628d0c75e1a3ba24aa437376f198091
074f531https://github.com/angular/angular/commit/074f531fad49e71c2b8cd5be580cfd7e43509a1e
Compare https://github.com/angular/angular/compare/ae60f3b97628d0c75e1a3ba24aa437376f198091..074f531fad49e71c2b8cd5be580cfd7e43509a1e
August 28, 2026 12:32https://github.com/angular/angular/pull/70453#event-30164625750
https://github.com/crisbeto
crisbetohttps://github.com/crisbeto
August 28, 2026 12:40https://github.com/angular/angular/pull/70453#event-30164966433
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
JeanMechehttps://github.com/JeanMeche
atscotthttps://github.com/atscott
August 28, 2026 12:40https://github.com/angular/angular/pull/70453#event-30164972150
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
Aug 28, 2026 https://github.com/angular/angular/pull/70453#pullrequestreview-5051157139
View reviewed changes https://github.com/angular/angular/pull/70453/files
packages/core/testing/src/test_bed.tshttps://github.com/angular/angular/pull/70453/files#diff-2bd12fb2a5773e584a5fa36c468bbdb2a76747088b0444af9ff1a3034d6c562c
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
JeanMechehttps://github.com/JeanMeche
August 28, 2026 12:43https://github.com/angular/angular/pull/70453#event-30165107078
https://github.com/crisbeto
feat(core): add utility for testing directiveshttps://github.com/angular/angular/pull/70453/commits/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
7a2b0achttps://github.com/angular/angular/pull/70453/commits/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
angular#54164https://github.com/angular/angular/issues/54164
https://github.com/crisbeto
crisbetohttps://github.com/crisbeto
force-pushedhttps://github.com/angular/angular/compare/074f531fad49e71c2b8cd5be580cfd7e43509a1e..7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
074f531https://github.com/angular/angular/commit/074f531fad49e71c2b8cd5be580cfd7e43509a1e
7a2b0achttps://github.com/angular/angular/commit/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
Compare https://github.com/angular/angular/compare/074f531fad49e71c2b8cd5be580cfd7e43509a1e..7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
August 28, 2026 12:50https://github.com/angular/angular/pull/70453#event-30165424430
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
Aug 28, 2026 https://github.com/angular/angular/pull/70453#pullrequestreview-5051246399
View reviewed changes https://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
packages/core/testing/src/fixture.tshttps://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398#diff-51cb9214350c15791f4e45431b2d203c83889f68f1a28862f6415bcd36d64a12
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
JeanMechehttps://github.com/JeanMeche
August 28, 2026 12:55https://github.com/angular/angular/pull/70453#event-30165653473
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
Aug 28, 2026 https://github.com/angular/angular/pull/70453#pullrequestreview-5051253426
View reviewed changes https://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
JeanMechehttps://github.com/JeanMeche
August 28, 2026 12:56https://github.com/angular/angular/pull/70453#event-30165694796
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
Aug 28, 2026 https://github.com/angular/angular/pull/70453#pullrequestreview-5051282407
View reviewed changes https://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
JeanMechehttps://github.com/JeanMeche
https://github.com/angular/angular/pull/70453#pullrequestreview-5051282407
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/atscott
atscotthttps://github.com/atscott
Sep 1, 2026 https://github.com/angular/angular/pull/70453#pullrequestreview-5080829390
View reviewed changes https://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
packages/core/testing/src/test_bed.tshttps://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398#diff-2bd12fb2a5773e584a5fa36c468bbdb2a76747088b0444af9ff1a3034d6c562c
atscotthttps://github.com/atscott
Sep 1, 2026https://github.com/angular/angular/pull/70453#discussion_r3906451638
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/70453
crisbetohttps://github.com/crisbeto
Sep 1, 2026https://github.com/angular/angular/pull/70453#discussion_r3906923900
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/70453
atscotthttps://github.com/atscott
Sep 1, 2026https://github.com/angular/angular/pull/70453#discussion_r3907172227
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/70453
crisbetohttps://github.com/crisbeto
Sep 1, 2026https://github.com/angular/angular/pull/70453#discussion_r3907547874
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/70453
atscotthttps://github.com/atscott
Sep 1, 2026https://github.com/angular/angular/pull/70453#discussion_r3907580921
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/70453
atscotthttps://github.com/atscott
Sep 1, 2026https://github.com/angular/angular/pull/70453#discussion_r3907584918
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/crisbeto
crisbetohttps://github.com/crisbeto
action: merge https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20merge%22
action: review https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20review%22
Sep 1, 2026https://github.com/angular/angular/pull/70453#event-30369811377
https://github.com/mattrbeck
mattrbeckhttps://github.com/mattrbeck
05c4d5ahttps://github.com/angular/angular/commit/05c4d5a8354228100b51176f295ed5dee4f3febc
Sep 1, 2026https://github.com/angular/angular/pull/70453#event-30376008615
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/mattrbeck
mattrbeckhttps://github.com/mattrbeck
Sep 1, 2026https://github.com/angular/angular/pull/70453#issuecomment-5500804075
05c4d5ahttps://github.com/angular/angular/commit/05c4d5a8354228100b51176f295ed5dee4f3febc
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/crisbeto
crisbetohttps://github.com/crisbeto
Sep 4, 2026 https://github.com/angular/angular/pull/70453#ref-pullrequest-5345538583
fix(cdk/testing): account for new DirectiveFixture API angular/components#33771 https://github.com/angular/components/pull/33771
crisbetohttps://github.com/crisbeto
Sep 4, 2026 https://github.com/angular/angular/pull/70453#ref-commit-bcee759
https://github.com/crisbeto
fix(cdk/testing): account for new DirectiveFixture APIhttps://github.com/crisbeto/material2/commit/bcee759610238a96adc716e46d2c082a653ce3f7
bcee759https://github.com/crisbeto/material2/commit/bcee759610238a96adc716e46d2c082a653ce3f7
angular/angular#70453https://github.com/angular/angular/pull/70453
crisbetohttps://github.com/crisbeto
Sep 4, 2026 https://github.com/angular/angular/pull/70453#ref-commit-f6eac16
https://github.com/crisbeto
fix(cdk/testing): account for new DirectiveFixture APIhttps://github.com/crisbeto/material2/commit/f6eac16150d3a9d9162b5908d1c82f7c84fcc21d
f6eac16https://github.com/crisbeto/material2/commit/f6eac16150d3a9d9162b5908d1c82f7c84fcc21d
angular/angular#70453https://github.com/angular/angular/pull/70453
crisbetohttps://github.com/crisbeto
Sep 4, 2026 https://github.com/angular/angular/pull/70453#ref-commit-651c6a7
https://github.com/crisbeto
fix(cdk/testing): account for new DirectiveFixture APIhttps://github.com/crisbeto/material2/commit/651c6a7c8c168aa3cd288376dd4ad8e5a204c8a7
651c6a7https://github.com/crisbeto/material2/commit/651c6a7c8c168aa3cd288376dd4ad8e5a204c8a7
angular/angular#70453https://github.com/angular/angular/pull/70453
crisbetohttps://github.com/crisbeto
Sep 5, 2026 https://github.com/angular/angular/pull/70453#ref-commit-3d30bf1
https://github.com/crisbeto
fix(cdk/testing): account for new DirectiveFixture API (https://github.com/angular/components/commit/3d30bf1b4301f494cfbf5defed8e268eb02ec35b
#33771https://github.com/angular/components/pull/33771
)https://github.com/angular/components/commit/3d30bf1b4301f494cfbf5defed8e268eb02ec35b
3d30bf1https://github.com/angular/components/commit/3d30bf1b4301f494cfbf5defed8e268eb02ec35b
angular/angular#70453https://github.com/angular/angular/pull/70453
https://github.com/GabeSilvaDev
GabeSilvaDevhttps://github.com/GabeSilvaDev
Oct 1, 2026 https://github.com/angular/angular/pull/70453#ref-pullrequest-5670432275
docs: fix inaccurate statements and broken examples across adev #71131 https://github.com/angular/angular/pull/71131
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
Oct 23, 2026https://github.com/angular/angular/pull/70453#issuecomment-6354309929
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
Oct 23, 2026https://github.com/angular/angular/pull/70453#event-34005937031
https://github.co/hiddenchars
https://github.com/angular/angular/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F70453
https://github.com/atscott
atscott https://github.com/atscott
https://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
https://github.com/JeanMeche
JeanMeche https://github.com/JeanMeche
https://github.com/angular/angular/pull/70453/files/7a2b0acc57f1db8755b96ccc034c7a9f38f9b398
Please reload this pagehttps://github.com/angular/angular/pull/70453
action: merge https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20merge%22
area: core https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
detected: feature https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22detected%3A%20feature%22
target: minor https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22target%3A%20minor%22
Backlog https://github.com/angular/angular/milestone/82
Provide the ability to test directives that contain input signals without wrapper components https://github.com/angular/angular/issues/54164
Please reload this pagehttps://github.com/angular/angular/pull/70453
https://github.com/crisbeto
https://github.com/mattrbeck
https://github.com/atscott
https://github.com/JeanMeche
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.