# Quality Assurance
Gio :wave:,
FAC19 -> T4B
---
## Won't do...
[An Overview of JavaScript Testing in 2020](https://medium.com/welldone-software/an-overview-of-javascript-testing-7ce7298b9870)
---
## Won't talk about...
[Testing methologies](https://github.com/fac20/research/blob/main/week3/TestingMethodologies.md)
[Types of tests](https://github.com/fac20/research/blob/main/week3/typeoftests.md)
*FAC20 week 3 :baby: spikes*
---
## What I did as QA :female-police-officer:
---
:heavy_check_mark: Monitor codecov and make sure test coverage is kept up
:construction: Understand how to test pure functions, database queries, routes, DOM
:construction: Understand how and when to use mocks
:heavy_check_mark: Set up separate test database and destroy / build scripts
:pray: Insist on clean and legible code
[FAC coursebook](https://founders-and-coders.gitbook.io/coursebook/projects/roles/project-team)
---
## What we did :film_projector:
QA - Gio
UX - Chloe
DevOps - Ako
Scrum - James
- [BE](https://github.com/fac19/Bechdel-Beyond-backend): Tape & Supertest with codecov.io
- [FE](https://github.com/fac19/Bechdel-Beyond): Jest & Cypress with codecov.io
---
### Tips
Take notes!
---
## QA Spike
in pairs:
- [Duplicate a project](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/duplicating-a-repository) from React week
- Set up Cypress
- Have a go at testing user journeys
- Present back your findings
---
Recommend Cypress [offical docs](https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell) > 'getting started' & 'references'.
Example: FAC19 PrepareMe
---
If feeling like it:
- Integrate it with codecov
Example: FAC19 Bechdel and Beyond
{"metaMigratedAt":"2023-06-15T12:50:56.244Z","metaMigratedFrom":"Content","title":"Quality Assurance","breaks":true,"contributors":"[{\"id\":\"fc28ac9f-05b4-4c0c-ba0f-978abbf9d995\",\"add\":3930,\"del\":2200}]"}