mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-26 09:24:21 +01:00
* before ThrottledBody * added upload rate limiting * before dynamic rate limiting * flexible rate limiter + config * fixed tests * fmt and clippy * reset auth.js e2e * more cleaning up * improved code and added comments * limit downloads too * fmt and clippy * improved sample comments * fixed comment * removed http dependency in favour of axum:http * parse speed units as lowercase * replaced regex with glob * clippy and fmt * fix: user rate limiting finding limit key * fmt * turn **/* patterns into ** * improved cleanup task
Pubky End2End Tests
This workspace member contains Pubky End2End tests. Run them with cargo test.
Pubky Testing Strategy
Unit Testing
Each member of this workspace, for example pkarr-republisher, are tested individually
in their respective member folder. Dependencies like the pubky-homeserver
should be mocked. Focus on testing the individual components and not all of Pubky.
E2E Testing
E2E tests cover multiple workspace members. Test full workflows.
It's recommended to use pubky-testnet which provides a convinient way to run Pubky components.