Add first tests for valdi_rxjs
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- testing
Hướng nghiên cứu
Start in src/valdi_modules/src/valdi/valdi_rxjs and look at its BUILD.bazel, then copy the test layout from valdi_test/BUILD.bazel, adding a test/ folder with test/**/*.ts in srcs and the jasmine dependency in test_deps. Read the Observable, Subject, BehaviorSubject and ReplaySubject sources, plus the helpers in src/testing/ for marble tests. Done when bazel test //src/valdi_modules/src/valdi/valdi_rxjs:test runs specs for the core types and passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
src/valdi_modules/src/valdi/valdi_rxjs has no tests. It's Valdi's port of RxJS (Observable, Subject, BehaviorSubject, ReplaySubject, the operators, firstValueFrom/lastValueFrom and so on), and other modules depend on it.
What to do
- Add a
test/folder to the module, and addtest/**/*.tstosrcsin itsBUILD.bazel. Add//src/valdi_modules/src/valdi/jasminetotest_deps.valdi_test/BUILD.bazelis a working example. - Write a first set of specs for the core types: subscribe and unsubscribe,
SubjectandBehaviorSubjectemission,ReplaySubjectbuffering, error and complete propagation, and a few common operators (map,filter,switchMap). The helpers insrc/testing/can be used for marble-style tests.
A first PR doesn't need to cover everything. A small, solid set of specs is a good start.
How to run
bazel test //src/valdi_modules/src/valdi/valdi_rxjs:test
See Testing for how module tests work.
Done when: the module has a test target with specs for the core types, and it passes.
See CONTRIBUTING.md before opening a pull request.
- Ngôn ngữ chính
- C++
- Star
- 16.4k
- Fork
- 538
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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 Snapchat/Valdi
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Snapchat/Valdi#215 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Snapchat/Valdi
Issue tương tự
-
clang:frontend clang:openmp crash
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
llvm/llvm-project#245442 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ai_p1 comp-sql-syntax
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
ClickHouse/ClickHouse#133888 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: firestore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
firebase/firebase-ios-sdk#17105 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 66/100