penguin-beta-version-1.5 #3

Merged
anonpenguin merged 30 commits from sotiris-beta-version-1.5 into main 2025-07-05 02:53:30 +00:00
Owner
No description provided.
anonpenguin added 16 commits 2025-06-19 18:31:17 +00:00
- Added a new SVG file `undraw_docusaurus_tree.svg` to the static images directory for enhanced visual representation.
- Created a `tsconfig.json` file to improve TypeScript support and editor experience, extending from the Docusaurus base configuration.
- Implement comprehensive tests for RelationshipManager covering various relationship types (BelongsTo, HasMany, HasOne, ManyToMany) and eager loading functionality.
- Include caching mechanisms and error handling in RelationshipManager tests.
- Create unit tests for ShardManager to validate shard creation, routing, management, global index operations, and query functionalities.
- Ensure tests cover different sharding strategies (hash, range, user) and handle edge cases like errors and non-existent models.
- Added prettify.css for code highlighting in coverage reports.
- Introduced prettify.js for syntax highlighting functionality.
- Included sort-arrow-sprite.png for sorting indicators in the coverage summary.
- Implemented sorter.js to enable sorting of coverage summary table columns.
- Added a search box to filter coverage summary rows based on user input.
- Added validation for field and model configurations in decorators.
- Improved handling of relationships in the BelongsTo, HasMany, HasOne, and ManyToMany decorators.
- Introduced new methods in QueryBuilder for advanced filtering, caching, and relationship loading.
- Updated RelationshipManager to support new relationship configurations.
- Enhanced error handling and logging in migration tests.
- Refactored test cases for better clarity and coverage.
- Implemented real integration tests in `real-integration.test.ts` to validate the functionality of the DebrosFramework with IPFS and OrbitDB.
- Created `RealTestUser` and `RealTestPost` models for testing user and post functionalities.
- Developed setup and teardown lifecycle methods for managing the test environment.
- Introduced `RealIPFSService` and `RealOrbitDBService` classes for managing IPFS and OrbitDB instances.
- Added `PrivateSwarmSetup` for configuring a private IPFS network.
- Implemented utility functions for creating and shutting down IPFS and OrbitDB networks.
- Created a global test manager for managing test lifecycle and network state.
- Updated TypeScript configuration to include test files and exclude them from the main build.
anonpenguin added 2 commits 2025-06-19 19:27:09 +00:00
- Deleted the real integration test file `real-integration.test.ts` which contained tests for the DebrosFramework, RealTestUser, and RealTestPost models.
- Removed the `helia-wrapper.ts`, `ipfs-setup.ts`, `orbitdb-setup.ts`, `swarm-setup.ts`, and `test-lifecycle.ts` files that provided setup and utility functions for the real IPFS and OrbitDB network tests.
anonpenguin added 1 commit 2025-06-19 19:43:42 +00:00
anonpenguin changed title from sotiris-beta-version-1.5 to penguin-beta-version-1.5 2025-07-02 02:35:13 +00:00
anonpenguin added 5 commits 2025-07-02 04:24:21 +00:00
- Implemented comprehensive integration tests for user management, category management, content publishing, comment system, performance, scalability, and network resilience.
- Created DockerNodeManager to manage Docker containers for testing.
- Developed ApiClient for API interactions and health checks.
- Introduced SyncWaiter for synchronizing node states and ensuring data consistency.
- Enhanced test reliability with increased timeouts and detailed logging.
anonpenguin added 2 commits 2025-07-02 04:46:02 +00:00
anonpenguin added 1 commit 2025-07-03 02:53:03 +00:00
anonpenguin added 2 commits 2025-07-03 04:01:04 +00:00
- Implement basic operations tests for user, category, post, and comment management.
- Create cross-node operations tests to verify distributed content creation and concurrent operations.
- Introduce Jest configuration and setup files for testing environment.
- Enhance BlogTestHelper with methods for user, category, post, and comment operations.
- Ensure data consistency and network metrics verification across nodes.
- Deleted the DebrosFramework integration test file to streamline the test suite.
- Updated blog API server to import reflect-metadata for decorator support.
- Changed Docker Compose command for blog integration tests to run real tests.
- Modified TypeScript configuration for Docker to target ES2022 and enable synthetic default imports.
- Removed obsolete Jest configuration and setup files for blog scenario tests.
- Cleaned up global test setup by removing console mocks and custom matchers.
anonpenguin added 1 commit 2025-07-05 02:52:51 +00:00
anonpenguin merged commit 2903d45230 into main 2025-07-05 02:53:30 +00:00
anonpenguin deleted branch sotiris-beta-version-1.5 2025-07-05 02:53:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DeBros/network#3
No description provided.