Project

vercon

0.0
The project is in a healthy, maintained state
CLI tool to generate test files with Cloude 3.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.0, < 2
~> 1.0, < 2
~> 1.2.3
~> 0.24
~> 0.7.0
~> 0.23.1
~> 0.9.3
~> 4.2.1
 Project Readme

Vercon

Vercon - a handy little gem that takes the pain out of writing tests for your Ruby projects. 🔥

The name Vercon comes from the Latin "verum conantur", meaning "they strive for truth". Vercon automatically generate test files and even though they will not always will be perfect, but at least it will save some time writting them manually.

It's build on top of Claude 3. It sends the source code of the Ruby file alongside with available factory names and current test file (in case one exists).

Claude analyzes your code to understand how it works, then uses that knowledge to put together relevant tests.

Just let the AI handle the tedious test writing for you 🚀

Give Vercon a try and save yourself some time and headaches when it comes to testing your Ruby apps.

Easy, efficient, no fuss 👌

How to use

Install the gem by executing:

$ gem install vercon

It will require from you Claude Api Token so greb it from here

Initialize the gem by executing:

$ vercon init

Generate test:

$ vercon generate <relative ruby file path>

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.

Contributing

Bug reports and pull requests are welcome on GitHub at vercon repo.

License

The gem is available as open source under the terms of the MIT License.