feat: integration tests for nestjs generator
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js
- Lĩnh vực
- ci-cd, cli, testing-qa
Hướng nghiên cứu
Bắt đầu với test/README.md và các bài kiểm thử tích hợp hiện có để làm theo mẫu đã được tài liệu hóa cho trình tạo NestJS. Tạo scaffold cho dự án NestJS tối thiểu, tạo client, xác minh việc biên dịch, tích hợp module và đánh giá các flag mẫu, sau đó xác nhận rằng bài kiểm thử chạy trong CI và cập nhật tài liệu nếu cần.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
feat: integration tests for nestjs generator
Description
We have introduced a standardized integration testing pattern to validate that generated feature flag clients are both compilable and usable within their intended language or framework ecosystems. The NestJS generator currently does not have integration test coverage.
We should add integration tests for the NestJS generator using the structure and methodology described in the CLI's testing documentation.
📄 Relevant Documentation:
Integration Testing Pattern
Tasks
- Scaffold a minimal NestJS test project (e.g., using
@nestjs/cli) - Use the NestJS generator to produce a feature flag client
- Validate that the generated code builds, integrates into a NestJS module, and executes a sample flag evaluation
- Add this test to the integration test suite and ensure it runs in CI
- Update test documentation if any NestJS-specific considerations arise
Acceptance Criteria
- ✅ NestJS generator is covered by at least one integration test
- ✅ Generated NestJS client compiles and integrates into a real app
- ✅ Integration test runs automatically in CI
- ✅ Test conforms to the documented integration testing pattern
Additional Notes
This test will help prevent regressions and ensure confidence that the NestJS generator produces valid, working clients suitable for real-world usage.
- Ngôn ngữ chính
- Go
- Star
- 63
- Fork
- 22
- Merge trung bình
- 1 giờ 27 phút
- Pull request đã merge (30 ngày)
- 19
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của open-feature/cli
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 70/100
open-feature/cli#239 · 1 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
open-feature/cli#247 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
open-feature/cli#229 · 3 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
open-feature/cli#210 · 1 bình luận ·
-
open-feature/cli#197 · 3 bình luận · 1 reaction · 1 người được giao ·
Tất cả issue của open-feature/cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bazel-contrib/rules_go#4726 · 1 bình luận ·
-
area/auto-scaling area/monitoring area/ops-productivity kind/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Type/Improvement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
OpenNSW/nsw-srilanka#522 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100