copilot.vim
junit-quickcheck
Our great sponsors
copilot.vim | junit-quickcheck | |
---|---|---|
61 | 5 | |
7,591 | 951 | |
5.2% | - | |
7.6 | 7.3 | |
11 days ago | 9 days ago | |
Vim Script | Java | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
copilot.vim
- Copilot.vim: Neovim Plugin for GitHub Copilot
-
Show HN: Use Code Llama as Drop-In Replacement for Copilot Chat
I use copilot in neovim[1]. It was remarkably simple to get installed. Highly recommend
[1]: https://github.com/github/copilot.vim
- How to use GitHub copilot in Vim?
- Obsidian-Copilot: A Prototype Assistant for Writing and Thinking
- Re: I Don't Use Copilot
-
Using Github Copilot.vim within Markdown fenced code blocks
I use Plug 'tpope/vim-markdown' and markdown fenced codeblocks fairly extensively, and recently installed Copilot.vim.
-
Neovim Integrations with AI and the rest of Internet
Anyways. Yes, neovim has AI integration like copilot ( https://github.com/github/copilot.vim ) and chatgpt ( https://github.com/jackMort/ChatGPT.nvim )
- Copilot nightly for Neovim?
-
I like Tabasco.
I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
- [Neovim] Uso de GitHub Copilot en Neovim: <Bab> El mapa ha sido deshabilitado o es reclamado por otro complemento
junit-quickcheck
-
Need your feedback on a tool that auto-generates unit tests for java code
For anyone interested, there's also https://github.com/pholser/junit-quickcheck . Haven't used it myself but looks like an interesting library to explore. It's based on QuickCheck as well AFAIK.
-
Coding Challenge
Thank you for the insightful reply. I did struggle to convert the original algorithm I wrote (with while loops / continue / break) to a more functional style using unfold, and also faced an issue with the type signatures when I tried to break down the contents of Stream.unfoldRight to multiple functions, which is reflected to the messy state you mentioned. Regarding property based testing, I used junit-quickcheck and the "symmetry" property check was one I meant to write but wasn't quite sure how to create a generator for it. I created an issue to track my attempt to incorporate your suggestions in case you are interested in following this. Thanks again!
-
Does anyone have any advice for writing better Java tests.
A quick Google search shows that java has a library for this (here) but I've never used it in java so can't attest to it.
-
GitHub Copilot for JetBrains and Neovim
QuickcCheck-type tools (generators for tests that know about the edge cases of a domain - e. g. for the domain of numbers considering things like 0, the infinities, various almost-and-just-over powers of two, NaN and mantissas for floats, etc.):
* QuickCheck: https://hackage.haskell.org/package/QuickCheck
* Hypothesis: https://hypothesis.readthedocs.io/en/latest/
* JUnit QuickCheck: https://github.com/pholser/junit-quickcheck
Fuzz testing tools (tools which mutate the inputs to a program in order to find interesting / failing states in that program). Generally paired with code coverage:
* American Fuzzy Lop (AFL): https://github.com/google/AFL
* JQF: https://github.com/rohanpadhye/JQF
Mutation / Fault based test tools (review your existing unit coverage and try to introduce changes to your _production_ code that none of your tests catch)
* PITest: https://pitest.org/
-
Fuzzing Java in OSS-Fuzz
If you want an easy way to have better mutation coverage, check out property based testing. Eg junit-quickcheck for Java.
https://github.com/pholser/junit-quickcheck
What are some alternatives?
helix - A post-modern modal text editor.
jqwik - Property-Based Testing on the JUnit Platform
copilot-cmp - Lua plugin to turn github copilot into a cmp source
jazzer - Coverage-guided, in-process fuzzing for the JVM
gpt-code-clippy - Full description can be found here: https://discuss.huggingface.co/t/pretrain-gpt-neo-for-open-source-github-copilot-model/7678?u=ncoop57
JQF - JQF + Zest: Coverage-guided semantic fuzzing for Java.
neovim-copilot-nix-bundle - Run Neovim with GitHub Copilot out of the box
copilot-docs - Documentation for GitHub Copilot
SpaceVim - A community-driven modular vim/neovim distribution - The ultimate vimrc
libfuzzer-workshop - Repository for materials of "Modern fuzzing of C/C++ Projects" workshop.
vscode-neovim - Vim mode for VSCode, powered by Neovim
PIT - State of the art mutation testing system for the JVM