File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # TDD++
2+
3+ The goal of this tool is to bring TDD to the next level.
4+ Rather than writing tests first, let's write tests _ only_ .
5+ Provided is a command line tool, which, given a class skeleton and a test suite,
6+ will generate successive class implementations until all tests pass.
7+
8+ This work is heavily based off of the work in [ Mohannadcse/AlloySpecRepair] ( https://github.com/Mohannadcse/AlloySpecRepair ) .
9+
10+ ## Dependencies
11+ * ` ollama `
12+ * ` llama3:latest `
13+ * ` poetry `
14+
15+ ### Serving Your Own LLM
16+ In order to run the code as-is, you must self serve your own LLM locally.
17+ Currently, this is hard-coded to llama3: latest .
18+ If you have ollama installed, self serving this LLM locally is trivial:
19+
20+ ``` commandline
21+ ollama serve
22+ ollama run llama3:latest
23+ ```
24+
25+ ## Running The Tool
26+ Currently, almost everything in this repo is hard-coded.
27+ To run the example program, simply:
28+ ``` commandline
29+ poetry run python -m main
30+ ```
31+
32+ # Roadmap
33+ * Configurable class skeleton and tests location
34+ * Configurable local LLM
35+ * _ Multi-agent implementation for test output enrichment???_
36+ * Containerization
37+ * Configurable OpenAI API key for ChatGPT usage
You can’t perform that action at this time.
0 commit comments