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've been rethinking this, in terms of a way of incorporating into jbuilder. I've tried out one scheme where I use jbuilder's copy# to isolate the piece of code that I want to test. Unfortunately, bisect_ppx ignores the directive, so the attribution is "wrong."
I think that this is part of a larger problem of what is the best way of incorporating tests into OCaml projects. I'm on the fence with respect to how expect tests are incorporated into the source code as I like to isolate them into a separate source file, but I'm struggling with having a good end to end solution.
The text was updated successfully, but these errors were encountered:
I'm not sure what to do about line numbers, but concerning expect tests, I prefer to write them in a different file. This is mainly because a really thorough test suite ends up quite large, and I usually don't want it polluting the source.
I've been rethinking this, in terms of a way of incorporating into jbuilder. I've tried out one scheme where I use jbuilder's
copy#
to isolate the piece of code that I want to test. Unfortunately, bisect_ppx ignores the directive, so the attribution is "wrong."I think that this is part of a larger problem of what is the best way of incorporating tests into OCaml projects. I'm on the fence with respect to how expect tests are incorporated into the source code as I like to isolate them into a separate source file, but I'm struggling with having a good end to end solution.
The text was updated successfully, but these errors were encountered: