Skip to content

002 sample client#11

Merged
0mega merged 2 commits intomainfrom
002-sample-client
Jan 24, 2026
Merged

002 sample client#11
0mega merged 2 commits intomainfrom
002-sample-client

Conversation

@0mega
Copy link
Owner

@0mega 0mega commented Jan 24, 2026

This pull request introduces a complete end-to-end (E2E) testing setup for the WorldTides library, including a new sample client project configured for integration testing against the live World Tides API. It adds a new GitHub Actions workflow for E2E tests, updates the documentation for the new library version, and ensures the sample client uses the latest local build of the library.

The most important changes are:

E2E Testing Infrastructure:

  • Added a new GitHub Actions workflow (.github/workflows/e2e.yml) to run E2E tests manually, publishing the worldtides library to the local Maven repository before running tests in the sample client.
  • Introduced a comprehensive E2E test suite in E2ETest.kt that validates all major API methods, checks error handling, and requires a WORLD_TIDES_API_KEY environment variable.

Sample Client Project Setup:

  • Added a new Gradle-based sample client project with configuration for Kotlin, dependencies, test logging, and application entry point (sample-client/build.gradle.kts, sample-client/settings.gradle.kts). [1] [2]
  • Included Gradle wrapper scripts and properties to ensure reproducible builds (sample-client/gradlew, sample-client/gradlew.bat, sample-client/gradle/wrapper/gradle-wrapper.properties). [1] [2] [3]

Documentation:

  • Updated the dependency declaration in the README.md to reference the new 2.0.0 version of the library.

0mega added 2 commits January 16, 2026 23:46
- Add spec.md with 3 user stories (API tests, error handling, CI)
- Add plan.md with technical implementation details
- Add tasks.md with TDD-based task breakdown (22 tasks)
- Add requirements checklist (29 items, 26 pass)

Branch: 002-sample-client
- Created standalone sample-client project
- Implemented E2E integration tests for all API methods
- Added GitHub Actions workflow for manual E2E testing
- Updated specs and documentation
- Verified all tests pass
@0mega 0mega merged commit 212e687 into main Jan 24, 2026
1 check passed
@0mega 0mega deleted the 002-sample-client branch January 24, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant