Skip to content

Add site-specific test cases for search #211

Description

@oddhack

Spun off #146 where I commented:

Using a common word as a search term and returning nothing is not OK. Related, having a test framework that we could hang various common queries off to look for sensible results would be very helpful and likely would have caught this behavior immediately, as 'format' is a pretty common query.

The notion here is more expansive than the upstream lunr tests, and targeted at the huge search index we build for our own sites - to take all of the previously identified search issues, many of which are fixed now, and ensure that they always return meaningful (and non-empty) result lists over changes to either the site content or the search infrastructure.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions