Skip to content

[💡 Feature]: update worker module structure to separate the AST parser #59

@mato533

Description

@mato533

Is your feature request related to a problem?

The modules executed by the worker process are all bundled in one file, making it a huge module.
Therefore, it takes time to start the process, and in some cases, memory is wasted because modules that are not used are imported.

Describe the solution you'd like.

Modifications should be made to break down the modules executed by worker processes into the following units and dynamically load them as needed.
The following units are assumed.

  1. Cucumber parser
  2. AST parser
  3. Temp WDIO configuration file creator

However, since both 2 and 3 use AST parsing, the library for AST parsing can be shared. Therefore, it is assumed that they should be the same module.

Describe alternatives you've considered.

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Idea 💡A new feature ideaNeeds Triaging ⏳No one has looked into the issue yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions