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

Feature Request: Add library API #44

Open
RTK opened this issue Apr 19, 2023 · 0 comments
Open

Feature Request: Add library API #44

RTK opened this issue Apr 19, 2023 · 0 comments

Comments

@RTK
Copy link

RTK commented Apr 19, 2023

Hello,

for my use case I would like to use this package's functionality as library from my source code.

Right now most of this package's logic resides in the bin/tojunit.dart file. It would be more helpful to move the logic to the lib directory and have e.g., a CliRunner class that takes the arguments from the binary file. This would allow me to use the same logic as the binary includes right now.

For now I have to rebuild some functionalities (e.g. reading and then splitting per line my machine test output file) and also add additional dependencies such as "testreport", which is unnecessary since this package already contains this logic, but unfortunately inaccessible from source code.

Best regards!

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