Closed jetcanfly closed 6 years ago
It looks confusing because what I commit are not supposed to affect existed tests.
Merging #99 into master will increase coverage by
0.04%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #99 +/- ##
==========================================
+ Coverage 96.85% 96.89% +0.04%
==========================================
Files 7 7
Lines 381 386 +5
Branches 46 46
==========================================
+ Hits 369 374 +5
Misses 3 3
Partials 9 9
Impacted Files | Coverage Δ | |
---|---|---|
SA3/qa_web/settings.py | 100% <100%> (ø) |
:arrow_up: |
SA3/qa_web/urls.py | 100% <100%> (ø) |
:arrow_up: |
SA3/qa_web/models.py | 100% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 161a43c...08421b0. Read the comment docs.
This feature has gone through Acceptance tests.
This is the search feature. Access it in search/. I used third-party libraries: haystack(framework), whoosh(search engine). Establish search index with question title, question content, question's answers' content. The search has been implemented vague match at the first place so you can search with non-adjacent keywords. If it's the first time you try to use search, please execute:
python manage.py rebuild_index
The result is shown as question title and question creation date. Future work: add a shortcut input windows in nav-bar in base.html for more convenient use of searching.