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
Yes but I could not find any exclusion mechanism in the docs (like /* doctest exclude */). We can selectively run test is the workflow, but that means it has to be updated while adding any new algorithm. We need a better alternative.
Activity
Fixes: TheAlgorithms#586 - fix failing tests
raklaptudirm commentedon May 22, 2021
We need to add doctests to all files to fix that issue.
cclauss commentedon May 22, 2021
Or only run doctest on the files that have doctests.
raklaptudirm commentedon May 22, 2021
Yes but I could not find any exclusion mechanism in the docs (like
/* doctest exclude */
). We can selectively run test is the workflow, but that means it has to be updated while adding any new algorithm. We need a better alternative.The second
TODO
has been fixed here #609 .cclauss commentedon May 23, 2021
npx doctest a/b.js c/d.js e/f/g.js h/*.js
kkanekii commentedon Jul 3, 2021
Pull request please
raklaptudirm commentedon Jul 3, 2021
@kkanekii If you want to help, you can create a Pull Request.
ghost commentedon Sep 8, 2021
Can someone guide me on creating a pull request?
ghost commentedon Sep 8, 2021
I have to change this, right?
cclauss commentedon Sep 8, 2021
Looks like you at least need another space.
What happens if you leave the command as it is but remove the
|| true
?We would rather run all the tests, not just hard code in the tests the exist today.
defaude commentedon Oct 5, 2021
This will get resolved once we got rid of doctest altogether. See #742
4 remaining items