Leah9 / screengrab

2 stars 1 forks source link

Write unit tests to assert the captured screen size is the expected one. #18

Closed ArielMAJ closed 2 years ago

ArielMAJ commented 2 years ago

I've never written unit tests before, but I think they would do wonders here to prevent us from breaking the app functionality without realizing.

Once these are written, I can see into automating them with GitHub actions every time we push or pull-request.

ArielMAJ commented 2 years ago

I'm currently working on this. I feel it would be nice to start a testing folder. Already having something set up for automatically testing the code can facilitate creating more tests in the future.