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

Error when running autogenerated spec tests w/ exec-fn #445

Open
cap10morgan opened this issue Sep 12, 2024 · 1 comment
Open

Error when running autogenerated spec tests w/ exec-fn #445

cap10morgan opened this issue Sep 12, 2024 · 1 comment

Comments

@cap10morgan
Copy link
Contributor

When I run autogenerated fdef spec tests with the exec-fn entry point, I get this exception on failures:

Exception: clojure.lang.ExceptionInfo: Cannot print check results with default printer. Use 'set!' or 'binding' to use Expound printer

This appears to be caused by exec-fn not having something similar to this in -main*:

(binding [spec/*explain-out* expound/printer]

Should something like that be added to exec-fn too? Or should this code be refactored so that the -main entry point calls the exec-fn entry point after parsing CLI opts into the tools-deps -X map format?

@plexus
Copy link
Member

plexus commented Sep 23, 2024

Hi Wes,

exec-fn is community contributed and not officially supported , we recommend sticking to bin/kaocha as documented. However PRs to improve it are welcome.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants