Skip to content

Commit 4be4e45

Browse files
committed
Add douban group topic test
1 parent 9c86eea commit 4be4e45

File tree

2 files changed

+4242
-0
lines changed

2 files changed

+4242
-0
lines changed

test/article-tests.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,20 @@ describe('Regression Tests', function() {
6767
'ライフハック',
6868
'個人情報の取り扱いについて',
6969
],
70+
},
71+
{
72+
fixture: 'douban-group-topic',
73+
title: '半年面试了上百人,经验总结。。',
74+
include: [
75+
'看到组里很多初出社会的小伙伴愁工作的事,我想给大家讲一讲个人的经验,希望尽量给大家一点帮助,少走一点弯路',
76+
'其他就不一一列举了,重点是展示出【高匹配度】',
77+
'最近工作遇到瓶颈,毕竟不会一直一帆风顺,调整好了之后会继续分享经验的,谢谢大家这么久的关注。',
78+
],
79+
notInclude: [
80+
'最赞回应',
81+
'最新话题',
82+
'北京豆网科技有限公司',
83+
]
7084
}].forEach(function(testCase) {
7185
it('can extract ' + testCase.fixture + ' articles', function(done) {
7286
var html = fs.readFileSync(articleFixtures + '/' + testCase.fixture + '.html').toString();

0 commit comments

Comments
 (0)