server
server copied to clipboard
[ENHANCEMENT]: Auto generated large testset
Description
Currently during development we are running into quite some issue that are not found during development but only when we use the new code in production environment. Examples of issues are:
- 'weird' encoded cracks
- Large datasets: large files, larges hashlist
- Lot of data, big speed table, lots of chunks
Inside the current CI platform there is a whole Python test framework and agent mocking implemented. This item is about using that CI platform and the agent mocking to create a realistic test data set.
Pointer to the test framework:
- https://github.com/hashtopolis/server/blob/master/ci/apiv2/hashtopolis_agent.py
- https://github.com/hashtopolis/server/blob/master/ci/apiv2/test_hashlist.py
This item is done when
- When a developer can tricker a test/script that preloads the database with a large fictional testset
Extra
- Some unittests that check basic functionality with the large testset.