This repository comes from ideas coming from GLSR, where, in 2020, I found myself stuck on dependency updates, after several months of abandonment. At the same time, a friend of mine needed help with unit testing.
So I started with unit tests, then, along the way, I resumed the desire to develop my project. This one starts from scratch, only the entities will not change, to begin with. The domain is there. 😉
To train and create skills, I want to develop according to the DDD vision, and the different testing approaches (ATDD, TDD, BDD ...)
To start in the right direction, I start by preparing my use cases, and adding the resulting tests after this list:
-
rewrite Domain model to check and correct my previous choices
-
install Behat
clone the repo at first
git clone https://github.com/Dev-Int/tests.git
And then install dependencies
- with docker
make init- with php installed
composer installAfter init, you can start the project with this command:
make startTo know all you can do with the Makefile, just run:
makegrepai enables semantic code search for AI agents, reducing token consumption by ~50%.
- Install grepai
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh- Install Ollama (for 100% local execution)
curl -fsSL https://ollama.com/install.sh | sh
ollama pull nomic-embed-text- Initialize in project
grepai init
grepai watch # Start background indexing# Semantic search
grepai search "authentication error handling" --json --compact
# Call tracing
grepai trace callers "UserRepository" --json
grepai trace callees "CreateUserHandler" --jsonFor full documentation, see the grepai docs.