dmunozv04 / iSponsorBlockTV

SponsorBlock client for all YouTube TV clients.
GNU General Public License v3.0
2.17k stars 89 forks source link

Create test environment using simulator #135

Open bertybuttface opened 5 months ago

bertybuttface commented 5 months ago

Is your feature request related to a problem? Please describe. Testing involves using a real device which is inconvenient and cannot be automated in a simple, robust way.

Describe the solution you'd like

  1. Container that runs the simulator, provides a code for iSponsorBlockTV (or a whole config file)
  2. Container that automates the simulator to run some automated tests.

Describe alternatives you've considered Not automating testing

Additional context None

dmunozv04 commented 5 months ago

PRs are welcome! :)

bertybuttface commented 5 months ago

Yeah I get it is a bit of a stretch goal, we would only need to use the simplest of the following.

Simulators:

Device Status
Apple TV Available
Samsung TV (Tizen) Available
LG TV (WebOS) Available
Android TV Available
Chromecast ?
Google TV ?
Roku ?
Fire TV ?
CCwGTV ?
Nintendo Switch ?
Xbox One/Series ?
Playstation 4/5 ?
dmunozv04 commented 5 months ago

Doing it on a web browser faking a TV user agent would probably be the easiest way to proceed, but it's not something I can devote my time to right now