Skip to content

Removed version numbers from conformance test names#1726

Merged
kriswest merged 8 commits intomainfrom
conformance-test-rename
Feb 20, 2026
Merged

Removed version numbers from conformance test names#1726
kriswest merged 8 commits intomainfrom
conformance-test-rename

Conversation

@robmoffat
Copy link
Copy Markdown
Member

@robmoffat robmoffat commented Dec 18, 2025

Describe your change

Related Issue

Contributor License Agreement

  • I acknowledge that a contributor license agreement is required and that I have one in place or will seek to put one in place ASAP.

Review Checklist

  • Issue: If a change was made to the FDC3 Standard, was an issue linked above?
  • CHANGELOG: Is a CHANGELOG.md entry included?

@robmoffat robmoffat requested a review from a team as a code owner December 18, 2025 15:32
@github-actions
Copy link
Copy Markdown

554 passed

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 18, 2025

Coverage Report

Commit: 0756b91
Base: main@69f702c

Type Base This PR
Total Statements Coverage  96.57%  96.57% (+0%)
Total Branches Coverage  85.75%  85.75% (+0%)
Total Functions Coverage  95.32%  95.32% (+0%)
Total Lines Coverage  96.65%  96.65% (+0%)
Details (changed files)
FileStatementsBranchesFunctionsLines
Details (all files)
FileStatementsBranchesFunctionsLines
packages/fdc3-agent-proxy/src/DesktopAgentProxy.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/index.ts 100% 100% 62.5% 100%
packages/fdc3-agent-proxy/src/apps/DefaultAppSupport.ts 88% 50% 100% 88%
packages/fdc3-agent-proxy/src/channels/DefaultChannel.ts 78.94% 77.77% 71.42% 78.94%
packages/fdc3-agent-proxy/src/channels/DefaultChannelSupport.ts 98.94% 93.1% 100% 98.9%
packages/fdc3-agent-proxy/src/channels/DefaultPrivateChannel.ts 97.5% 66.66% 100% 97.5%
packages/fdc3-agent-proxy/src/heartbeat/DefaultHeartbeatSupport.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/intents/DefaultIntentResolution.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/intents/DefaultIntentSupport.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/listeners/AbstractListener.ts 100% 60% 100% 100%
packages/fdc3-agent-proxy/src/listeners/DefaultContextListener.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/listeners/DefaultIntentListener.ts 100% 77.77% 100% 100%
packages/fdc3-agent-proxy/src/listeners/DesktopAgentEventListener.ts 90.47% 85.71% 100% 90.47%
packages/fdc3-agent-proxy/src/listeners/EventListener.ts 10% 0% 0% 10%
packages/fdc3-agent-proxy/src/listeners/HeartbeatListener.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/listeners/PrivateChannelEventListener.ts 93.33% 72.72% 100% 93.33%
packages/fdc3-agent-proxy/src/messaging/AbstractMessaging.ts 94.59% 100% 80% 94.59%
packages/fdc3-agent-proxy/src/util/AbstractFDC3Logger.ts 100% 94.11% 100% 100%
packages/fdc3-agent-proxy/src/util/Logger.ts 100% 100% 100% 100%
packages/fdc3-agent-proxy/src/util/throwIfUndefined.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/index.ts 100% 100% 28.57% 100%
packages/fdc3-get-agent/src/messaging/MessagePortMessaging.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/messaging/message-port.ts 97.43% 86.66% 100% 97.43%
packages/fdc3-get-agent/src/sessionStorage/DesktopAgentDetails.ts 97.36% 89.47% 100% 97.36%
packages/fdc3-get-agent/src/strategies/DesktopAgentPreloadLoader.ts 100% 77.77% 100% 100%
packages/fdc3-get-agent/src/strategies/FailoverHandler.ts 100% 76.47% 100% 100%
packages/fdc3-get-agent/src/strategies/HelloHandler.ts 94% 81.25% 100% 94%
packages/fdc3-get-agent/src/strategies/IdentityValidationHandler.ts 95.65% 73.33% 100% 95.65%
packages/fdc3-get-agent/src/strategies/PostMessageLoader.ts 98.48% 86.95% 100% 98.46%
packages/fdc3-get-agent/src/strategies/Timeouts.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/strategies/getAgent.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/ui/AbstractUIComponent.ts 97.14% 71.42% 100% 97.01%
packages/fdc3-get-agent/src/ui/DefaultDesktopAgentChannelSelector.ts 100% 75% 100% 100%
packages/fdc3-get-agent/src/ui/DefaultDesktopAgentIntentResolver.ts 100% 90% 100% 100%
packages/fdc3-get-agent/src/ui/NullChannelSelector.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/ui/NullIntentResolver.ts 100% 100% 66.66% 100%
packages/fdc3-get-agent/src/util/Logger.ts 100% 100% 100% 100%
packages/fdc3-get-agent/src/util/Uuid.ts 100% 100% 100% 100%
packages/fdc3-standard/src/index.ts 91.3% 70.83% 60% 95%
packages/fdc3-standard/src/api/AppIdentifier.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/AppIntent.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/AppMetadata.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Channel.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/ContextMetadata.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/DesktopAgent.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/DisplayMetadata.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Errors.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Events.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/GetAgent.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Icon.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Image.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/ImplementationMetadata.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/IntentMetadata.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/IntentResolution.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Listener.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Methods.ts 94.18% 84.28% 96.29% 95.23%
packages/fdc3-standard/src/api/PrivateChannel.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/RecommendedChannels.ts 100% 100% 100% 100%
packages/fdc3-standard/src/api/Types.ts 100% 100% 100% 100%
packages/fdc3-standard/src/context/ContextType.ts 100% 100% 100% 100%
packages/fdc3-standard/src/intents/Intents.ts 100% 100% 100% 100%
packages/fdc3-standard/src/internal/contextConfiguration.ts 100% 100% 100% 100%
packages/fdc3-standard/src/internal/intentConfiguration.ts 100% 100% 100% 100%
packages/fdc3-standard/src/internal/typeHelpers.ts 100% 100% 100% 100%
packages/fdc3-standard/src/ui/ChannelSelector.ts 100% 100% 100% 100%
packages/fdc3-standard/src/ui/Connectable.ts 100% 100% 100% 100%
packages/fdc3-standard/src/ui/IntentResolver.ts 100% 100% 100% 100%
toolbox/fdc3-for-web/fdc3-web-impl/src/BasicFDC3Server.ts 100% 100% 100% 100%
toolbox/fdc3-for-web/fdc3-web-impl/src/ServerContext.ts 100% 100% 100% 100%
toolbox/fdc3-for-web/fdc3-web-impl/src/directory/BasicDirectory.ts 96.87% 84.21% 100% 96.55%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/BroadcastHandler.ts 96.21% 86.17% 98.24% 95.97%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/HeartbeatHandler.ts 88.23% 71.87% 86.66% 90%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/IntentHandler.ts 97.36% 90.47% 100% 96.98%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/OpenHandler.ts 97.14% 86.84% 100% 97.14%
toolbox/fdc3-for-web/fdc3-web-impl/src/handlers/support.ts 100% 100% 100% 100%

@robmoffat robmoffat changed the title Removed version numbers from test names Removed version numbers from conformance test names Dec 18, 2025
@github-actions
Copy link
Copy Markdown

554 passed

@kriswest
Copy link
Copy Markdown
Contributor

kriswest commented Jan 29, 2026

This looks good to me, but lets hold on merging it until #1586 is in. I have a number of additions to this PR queued up to add (e.g. removing all the remaining 2.0 and 2_0, etc.)

@kriswest kriswest changed the base branch from fdc3-new-conformance-2.2 to main February 4, 2026 19:11
@kriswest kriswest force-pushed the conformance-test-rename branch from bfb21d2 to bc92d2e Compare February 18, 2026 17:31
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 18, 2026

Deploy Preview for fdc3 canceled.

Name Link
🔨 Latest commit 0756b91
🔍 Latest deploy log https://app.netlify.com/projects/fdc3/deploys/69962b8d809a5c00080418d3

@github-actions
Copy link
Copy Markdown

554 passed

@github-actions
Copy link
Copy Markdown

554 passed


const RaiseIntentFailTargetedAppResolve3 =
"(RaiseIntentFailTargetedAppResolve3) Should fail to raise intent when targeting a non-existant app id, context 'testContextY', intent 'sharedTestingIntent2' and throw IntentDeliveryFailed error";
"(RaiseIntentFailTargetedAppResolve3) Should fail to raise intent when targeting an app that doesn't add an intent listener, context 'testContextY', intent 'sharedTestingIntent2' and throw IntentDeliveryFailed error";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Corrected test description for RaiseIntentFailTargetedAppResolve3


const RaiseIntentFailTargetedAppResolve4 =
"(RaiseIntentFailTargetedAppResolve4) Should throw an IntentDeliveryFailed error when raising intent with targeted app intent-i, context 'testContextY', intent 'sharedTestingIntent2'";
"(RaiseIntentFailTargetedAppResolve4) Should fail to raise intent when targeting an app that doesn't add an intent listener of the matching type, context 'testContextY', intent 'sharedTestingIntent2' and throw IntentDeliveryFailed error";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Corrected test description for RaiseIntentFailTargetedAppResolve4

@github-actions
Copy link
Copy Markdown

554 passed

Copy link
Copy Markdown
Contributor

@kriswest kriswest left a comment

Choose a reason for hiding this comment

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

LGTM after additional changes to remove the FDC3 version number from paths, mock implementations etc.. Those changes simplify the overall implementation slightly. I've also corrected a couple of test descriptions in the 'fdc3.raiseIntent (throws error)' suite.

Confirmed that the reference implementation is passing all tests:

Image

Will need a further review from @finos/fdc3-maintainers as I've pushed to the branch last.

@kriswest
Copy link
Copy Markdown
Contributor

@robmoffat this should be ready to go now. Once merged we can create a tag for you to deploy as the candidate 2.2 test set (assuming it works for others)

@Roaders
Copy link
Copy Markdown
Contributor

Roaders commented Feb 20, 2026

I managed to successfully run a complete conformance test on the demo app and get all tests passing.
This is probably nothing to do with this PR but if I just run dev without running build initially I get errors:

[3] 9:29:37 AM [vite] Pre-transform error: Failed to resolve entry for package "@finos/fdc3-web-impl". The package may have incorrect main/module/exports specified in its package.json.
[3]   Plugin: vite:import-analysis
[3]   File: C:/Users/Giles/Documents/dev/FDC3/toolbox/fdc3-for-web/demo/src/client/da/dummy-desktop-agent.ts:6:80
[3]   4  |  import { DemoServerContext } from "./DemoServerContext";
[3]   5  |  import { FDC3_2_1_JSONDirectory } from "./FDC3_2_1_JSONDirectory";
[3]   6  |  import { DefaultFDC3Server } from "@finos/fdc3-web-impl";
[3]      |                                     ^
[3]   7  |  import { ChannelType } from "@finos/fdc3-web-impl/src/handlers/BroadcastHandler";
[3]   8  |  import { UI, UI_URLS } from "./util";

I was under the impresstion that dev worked without build but perhaps I am wrong. Only mentioning it here as it was different to what I expected and as I say I'm sure it's nothing to do with this PR.

LGTM

@kriswest
Copy link
Copy Markdown
Contributor

I was under the impresstion that dev worked without build but perhaps I am wrong. Only mentioning it here as it was different to what I expected and as I say I'm sure it's nothing to do with this PR.

In a fresh checkout, you do need to run build at the root of the FDC3 repo (which will build everything) before running dev in /toolbox/fdc3-for-web/demo, the npm workspace isn't smart enough to determine the dependecy graph and build dependencies for you.

There are frameworks that can however, such as https://nx.dev/

Oh wait, do you mean the root package.json dev script

"dev": "concurrently \"cd toolbox/fdc3-conformance && npm run dev\" \"cd toolbox/fdc3-workbench && npm run dev\" \"cd toolbox/fdc3-for-web/reference-ui && npm run dev\" \"cd toolbox/fdc3-for-web/demo && npm run dev\"",

That does appear to be missing the build step for fdc3-web-impl and should probably be adjusted to include it

@kriswest kriswest merged commit 74497e7 into main Feb 20, 2026
7 checks passed
@Roaders
Copy link
Copy Markdown
Contributor

Roaders commented Feb 23, 2026

I have often thought of converting this repo over to nx. I actually occassionally run nx commands forgetting that it's not an nx repo!!! It would massively improve some of the build tasks we do. I think that currently there is a lot of duplicated steps if we run npm run build and npm run test.

I am hesitant to bring this up though as there is a learning curve with nx and if we migrated it would mean that all contributors would have to understand it. I think I've already changed the way we have to work enough by converting to vitest! 😉

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants