docs(tests): testing strategies (#464)

This commit is contained in:
Stan Girard 2023-07-03 11:30:29 +02:00 committed by GitHub
parent b33fcc8bf7
commit 6c6fa01411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,30 @@
---
sidebar_position: 1
title: Testing Strategies
---
## Backend
- E2E Test
- User journeys
- Unit Test
- Test base classes for models for breaking change (Vectorstore, Brainpicking, etc...)
- Test endpoints
- Test utility functions
- Test critical functions
- Chat related functions
How:
- Pytest
# Frontend
- Functionnal tests
- Good rendering of components
- Backend call is made
- State is updated
- User can interact with the component
How:
- Vitest
- RTL (React Testing Library)

View File

@ -0,0 +1,3 @@
{
"position": 4
}

View File

@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 6
title: Privacy Policy
---

View File

@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 5
---
# Roadmap