cortex.cpp
cortex.cpp copied to clipboard
epic: unitest for cortex cpp
We need create unitest for done ticket. For now we will use Gtest to write unitest
Unitest can run locally and add to CI pipeline When building debug mode will include test, release wont including it Subtask:
- [x] Cmake build test option
- [ ] CI build and run unitest (Need dev ops)
- [ ] Unitest for utils folder
- [ ] Unitest for commands
- [ ] Unitest for sever service
- [ ] models services
- [ ] model pull
- [ ] model start
- [ ] model stop
- [ ] model list
- [ ] model get
- [ ] engines services
- [ ] engine install
- [ ] engine list
- [ ] engine get
- [ ] chat services
- [ ] stream chat
- [ ] non stream chat
- [ ] models services
- [ ] Unitest for engines
- [ ] llamacpp
- [ ] tensorrt-llm
- [ ] onnx
Update:
- under development in this branch https://github.com/janhq/cortex/tree/feat-background-process-server/engine/test
- when build add an option to decide build test or not:
cmake .. -DCMAKE_BUILD_TEST=ONsource code here. Default isOFF-> no build test
@namchuai @vansangpfiev Can we break this down into smaller epics, otherwise this is a task that never gets closed