mardi 26 janvier 2021

What to test with JUnit

Premise I am about to try my hand for the first time in testing a university project in which I was thrown without the slightest experience, finding myself in front of a gigantic problem: How and what should I test

Mine is a simple app that communicates with a movie database and has an MVVM structure.

These are my packages: activities, adapters (for recycler views), fragments, models, repositories, request, response, utils, viewmodels

My question is should i test everything? For example do activities or fragments have to be tested with Espresso or also with JUnit?

Aucun commentaire:

Enregistrer un commentaire