Skip to content

Commit 0510f27

Browse files
committed
Add a README
1 parent f345123 commit 0510f27

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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

0 commit comments

Comments
 (0)