pia-foss / mobile-android-legacy

Private Internet Access - Android VPN Client
MIT License
38 stars 14 forks source link

PIA-710 - Refactor Sign In test to be data driven #38

Closed kp-andrei-madescu closed 1 year ago

kp-andrei-madescu commented 1 year ago

Jira Ticket

N/A

Purpose

Refactored Sign In tests to be data-driven, allowing for better scaling, and increasing the coverage through one, unique test for both positive and negative scenarios. This also improves overall run time.

Test data for the Sign In tests is currently set through a raw JSON, through Google's gson library.

Also updated README to reflect the necessary setup to run the tests and optimized imports.

Related PR(s)

N/A