You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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.
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?
The text was updated successfully, but these errors were encountered: