Skip to content

Conversation

kunalpanchal
Copy link

@kunalpanchal kunalpanchal commented Aug 14, 2023

Adds a new configuration option called "propertiesFile" which lets you configure properties using a javascript file. This file should export a function which then accepts "testsuite" as a parameter and returns a object. This is then attached to the respective testsuite.

Replicates: https://github.com/jest-community/jest-junit#adding-custom-testcase-properties

@kunalpanchal kunalpanchal changed the title Add "propertiesFile" option to accept properties Add "propertiesFile" for custom properties Aug 15, 2023
@kunalpanchal kunalpanchal marked this pull request as ready for review August 15, 2023 11:21
Adds a new configuration option called "propertiesFile" which lets you
configure a javascript file. This file then accepts "testsuite" as a parameter and returns a object which is then attached to the respective testsuite.
@kunalpanchal kunalpanchal force-pushed the inject-properties-by-file branch from 924ac44 to 1955517 Compare August 22, 2023 12:11
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.

1 participant