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

Add unit tests for custom scripts #19

Open
blimmer opened this issue Nov 2, 2021 · 0 comments
Open

Add unit tests for custom scripts #19

blimmer opened this issue Nov 2, 2021 · 0 comments

Comments

@blimmer
Copy link
Owner

blimmer commented Nov 2, 2021

There's currently a decent integration test framework to make sure the jest cache is restored properly. However, with #18, there were some additional inline scripts added. It would be nice to add unit tests for their behavior.

In the past, for private orbs I've written for clients, I've done this with a little script to extract the script content to .sh files and then use bats to test the files. That would be a nice addition to this repo.

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