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

Debug a failing spec #79

Open
DamienCassou opened this issue Apr 16, 2017 · 2 comments
Open

Debug a failing spec #79

DamienCassou opened this issue Apr 16, 2017 · 2 comments
Milestone

Comments

@DamienCassou
Copy link
Contributor

How do I debug (with edebug) a failing spec (not the whole suite)?

@jorgenschaefer jorgenschaefer added this to the Backlog milestone Apr 21, 2017
@jorgenschaefer
Copy link
Owner

Good question! I do not use edebug myself, like, at all, so any hints would be welcome :-D

@DamienCassou
Copy link
Contributor Author

I guess what is needed is to extract the current spec, edebug-eval-defun it and evaluate the function. From something like this:

(describe "foo"
   ... some config...
  (it "bar" ...)
  (it "baz" ...))

with point inside spec "baz" a function would have to extract this:

(describe "foo
   ... some config...
  (it "baz" ...))

(i.e., everything but the other specs).

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

No branches or pull requests

2 participants