Fuco1 / smartparens

Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
GNU General Public License v3.0
1.8k stars 193 forks source link

Either fix ert failures or mark them as expected #1201

Closed temyurchenko closed 2 months ago

temyurchenko commented 2 months ago

Expected behavior

Running cask exec ert-runner results in no failing tests.

Actual behavior

First, ert-runner complains about duplicated test names. However, even after we fix those, we get 42 failures. The best and simplest way to deal with those is to mark them as «expected failures». It is slightly complicated due to some tests being wrapped in macros.

Steps to reproduce the problem

Run cask build followed by cask exec ert-runner.

Backtraces if necessary (M-x toggle-debug-on-error)

Environment & version information

Fuco1 commented 2 months ago

The failing test cases need to be corrected, they should not be failing. I am slowly fixing some but it's a long process.

temyurchenko commented 2 months ago

The failing test cases need to be corrected, they should not be failing. I am slowly fixing some but it's a long process.

Oh, yes, I absolutely get that. Sorry, if that sounded pressuring. I was just reading the contributing guide, which advised to run a test-suite, which I ran and it showed a lot of errors. I haven't found any documentation about that in the repo, so I decided to make an issue for others who might be confused.

Fuco1 commented 2 months ago

No worries :)

Fuco1 commented 2 months ago

I'll make a new issue with all the failing tests so I can track progress individually.