You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating pact tests, the output does not always match the existing style, idioms, frameworks and SDK versions as the current project the engineer is working on. For example, the test might generate chai matchers and assertions, for a project that uses Jest.
Additionally, the style of the test may not be consistent with the existing tests.
One way to address this problem, and improve the output, is to allow users to provide their own templates with their existing patterns and style encoded in them, when asking PactFlow to generate tests. PactFlow will use this as a template to inject the test cases into.
Ability to provide a (local) template when generating tests
Ability to specify an existing (cloud) template when generating tests
New permission will be created to allow users to specify local templates
In a future capability, we will support a template library within PactFLow:
Ability to upload templates to PactFlow into a template library (via API or UI)
Templates may be associated with the team or no team (follow the secrets model)
UI to manage the templates
Ability to restrict all of the above via RBAC
Permission to allow creating/updating/deleting (managing) and reading existing templates (at the * and team scope)
The text was updated successfully, but these errors were encountered:
When generating pact tests, the output does not always match the existing style, idioms, frameworks and SDK versions as the current project the engineer is working on. For example, the test might generate chai matchers and assertions, for a project that uses Jest.
Additionally, the style of the test may not be consistent with the existing tests.
One way to address this problem, and improve the output, is to allow users to provide their own templates with their existing patterns and style encoded in them, when asking PactFlow to generate tests. PactFlow will use this as a template to inject the test cases into.
In a future capability, we will support a template library within PactFLow:
The text was updated successfully, but these errors were encountered: