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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a well defined intermediate test data structure format #21

Open
MikeNeilson opened this issue Dec 20, 2024 · 0 comments
Open

Create a well defined intermediate test data structure format #21

MikeNeilson opened this issue Dec 20, 2024 · 0 comments

Comments

@MikeNeilson
Copy link
Collaborator

Component to be refactored
Things downstream of gherkin file processing.

Purpose of refactoring
The KiwiTCMS system provides for a very well structured concept of test cases, plans, components, versions, etc. However, not all TCMSes are the same.

In getting things to work for the gradle plugin and Kiwi I already had to add another "callback" function for stream processing to fill in details.

Having a generic format would make it easier to test the gherkin processing code itself, we'd have a defined target, and then when time to convert we have all the possible information in some way. One issue in the current scheme was that the file information a feature is in is not available to the gradle plugin, where I opted to allow a "marker" value to be generated from. This is used for uniqueness as the Kiwi system is a bit weird. originally it defaulted to the file but during tests a temp directory was used so each case kept getting added.

Proposed method
Instead of the current Kiwi Specific structures that use a lot of Strings to be more generic, define an intermediary Test System data structures that would also include feature information.

the Stream processing would return these processed structures for the downstream system to consume and convert as necessary.

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant