caolan / caolan/nodeunit

Testling browser TAP reporter

Đang mở
#201 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1.9k
Fork
359
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

We need a TAP reporter that runs in the browser to use nodeunit on [Testling](https://ci.testling.com/). I'm happy to whip one up, but I'm not sure where it belongs.

Options:
1. [karma-nodeunit](https://github.com/karma-runner/karma-nodeunit) is a separate repo. I could do the same for a TAP browser reporter. This direction feels a little funny because it's a generally useful reporter, like the [existing server TAP reporter](https://github.com/caolan/nodeunit/blob/master/lib/reporters/tap.js) and it'd be detached from nodeunit development. karma-nodeunit has the browser nodeunit build [committed](https://github.com/karma-runner/karma-nodeunit/blob/master/lib/nodeunit.js) in its source, which is a bit smelly.
2. Build it into nodeunit/dist/ with `make browser`. This direction feels funny because it's very much a second class citizen compared to the other reporters. Testling encourages test suites made of browserifiable CommonJS modules. There'd be no easy way to `npm install` and `require()` the reporter.

Thoughts?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách đọc TAP reporter phía server hiện có trong lib/reporters/tap.js, sau đó so sánh hai vị trí được đề xuất: repository karma-nodeunit riêng biệt hoặc nodeunit/dist/ thông qua make browser. Công việc hoàn tất khi vị trí được quyết định và có thể sử dụng browser TAP reporter với Testling và các test suite CommonJS có thể browserify.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
testing
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.