-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
t-aiIssues owned by the AI team.Issues owned by the AI team.
Description
How tests can look:
- Correctness—We must be sure what we're testing and what the result is, and that we really test it, and only one single output is correct.
- Minimal complexity - ideally just input/output. Or just input/update/output.
- Exact results - for example, expect(toolNames).toEqual(["a", "b", "c"]) tells me that tools a, b, c are there
- Documentation - some projects use tests to document how the library can be used. This only works when it's input/output testing with no additional logic, so the code can be easily read.
I will look for some better materials on how to write integration tests.
Metadata
Metadata
Assignees
Labels
t-aiIssues owned by the AI team.Issues owned by the AI team.