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

Cache Serenity BDD jar in an OS-specific temp directory #1280

Open
jan-molak opened this issue Aug 20, 2022 · 0 comments
Open

Cache Serenity BDD jar in an OS-specific temp directory #1280

jan-molak opened this issue Aug 20, 2022 · 0 comments
Labels
developer experience Improvements to the developer experience of using Serenity/JS @serenity-js/serenity-bdd Serenity BDD reporter for Serenity/JS

Comments

@jan-molak
Copy link
Member

At the moment, running serenity-bdd update downloads Serenity BDD CLI jar to node_modules/@serenity-js/serenity-bdd/cache. This makes it easier to locate the jar since it's in the same workspace, but it would be cleaner to download to an OS-specific temp directory and remove previous versions of the jar when a new one is available.

%USERPROFILE%\AppData\Local\serenity-bdd on Windows
~/Library/Caches/serenity-bdd on MacOS
~/.cache/serenity-bdd on Linux
@jan-molak jan-molak added @serenity-js/serenity-bdd Serenity BDD reporter for Serenity/JS developer experience Improvements to the developer experience of using Serenity/JS labels Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer experience Improvements to the developer experience of using Serenity/JS @serenity-js/serenity-bdd Serenity BDD reporter for Serenity/JS
Projects
None yet
Development

No branches or pull requests

1 participant