GithubHelp home page GithubHelp logo

vercon's Introduction

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.

vercon's People

Contributors

alexbeznoss avatar

Stargazers

Alex Golubenko avatar Lucas Portet avatar

Watchers

 avatar

Forkers

yuma-brendan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.