facebook / facebook/duckling

Add negative tests that fail to match a predicate

Open
#608 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.3k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

negative corpus just assumes that there should be no match at all. We basically want the inverse of `example`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the negative corpus and the existing `example` test helper in the Duckling repository. Confirm how negative cases currently assert that no match exists, then make the requested behavior complete when a negative case can assert that input fails to match a specified predicate.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.