fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.9K
active users

#Neotest

0 posts0 participants0 posts today
M. Forester<p>I did it!</p><p>Well, mostly I just tried <a href="https://rollenspiel.social/tags/Neotest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Neotest</span></a> again with <a href="https://rollenspiel.social/tags/Neovim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Neovim</span></a>.</p><p>As it turns out, the plugin was actually working currectly. At least for the most part.</p><p>There's a summary pane you can toggle and run tests from there and that's working perfectly.</p><p>What's not working at all, is running tests from a file or "nearest" test from the cursor position.</p><p>I've already opened up an issue with the Neotest project on GitHub.</p><p>Other than that, I'm really happy with the integration. 🙂</p>
ottO<p>anyone know if with <a href="https://fosstodon.org/tags/neotest" class="mention hashtag" rel="tag">#<span>neotest</span></a> <a href="https://fosstodon.org/tags/neotestpython" class="mention hashtag" rel="tag">#<span>neotestpython</span></a> <a href="https://fosstodon.org/tags/nvim" class="mention hashtag" rel="tag">#<span>nvim</span></a> <a href="https://fosstodon.org/tags/lunarvim" class="mention hashtag" rel="tag">#<span>lunarvim</span></a> there is a way to create a test for a function? Like select function and create a test method? Maybe also jump to test?</p>
Arunmozhi<p><span>Third time seems to be the charm. After 2 attempts with spacemacs, I finally seem to have gotten a working setup with </span><a href="https://social.arunmozhi.in/tags/Doomemacs" rel="nofollow noopener noreferrer" target="_blank">#Doomemacs</a><span>.<br><br>The thing that took the longest time to figure out was getting </span><a href="https://social.arunmozhi.in/tags/pyenv" rel="nofollow noopener noreferrer" target="_blank">#pyenv</a><span> and </span><a href="https://social.arunmozhi.in/tags/pyright" rel="nofollow noopener noreferrer" target="_blank">#pyright</a><span> to work correctly.<br><br>1. pyenv - project integration code needed to be added<br>2. pyenvs should be then created in the same name as the project itself<br>3. pyenv local needed to be run to create .python-version file<br>4. both lsp and tree-sitter tools enabled and added to python<br><br>Now I am almost feature parity with my </span><a href="https://social.arunmozhi.in/tags/lunarvim" rel="nofollow noopener noreferrer" target="_blank">#lunarvim</a><span> </span><a href="https://social.arunmozhi.in/tags/neotest" rel="nofollow noopener noreferrer" target="_blank">#neotest</a><span> setup to run tests. The final piece missing is DAP debugger... coming at you DAP</span></p>
Arunmozhi<p><span>I am really loving the </span><a href="https://social.arunmozhi.in/tags/LunarVim" rel="nofollow noopener noreferrer" target="_blank">#LunarVim</a><span> setup with </span><a href="https://social.arunmozhi.in/tags/Neotest" rel="nofollow noopener noreferrer" target="_blank">#Neotest</a><span> for debugging. The TDD experience is just so smooth. Write a test hit df, it runs the test function that the cursor is in. If it fails, I get an inline error.<br><br>Edit file, hit df again, rinse and repeat. </span>🫰</p>