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

Adding fact checking result to lein-midje-doc output #11

Open
lispmeister opened this issue May 28, 2014 · 1 comment
Open

Adding fact checking result to lein-midje-doc output #11

lispmeister opened this issue May 28, 2014 · 1 comment

Comments

@lispmeister
Copy link
Contributor

I'd like to add the result of the test's fact checking to the document output (as markup).
Currently a failed test is not visible to the reader unless he also consults the midje output on the shell.

Where would be a good place to add code for a feature like that?

@zcaudate
Copy link
Member

I think that will not be a simple task because you would have to hook in each test to the midje framework, or else evaluate each form one by one.

Currently, midje-doc does not even attempt to evaluate the file but this is a definite possibility that it can be done. You can add a meta key value pair to the top of the fact form that needs to be printed, then render it accordingly.

The rendering functions needs to be rewritten... But that's another issue.

On 28 May 2014, at 20:29, lispmeister notifications@github.com wrote:

I'd like to add the result of the test's fact checking to the document output (as markup).
Currently a failed test is not visible to the reader unless he also consults the midje output on the shell.

Where would be a good place to add that?


Reply to this email directly or view it on GitHub.

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

2 participants