You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
obws/tests
Dominik Nakamura b6e5835a64
Upgrade to obs-websocket 4.9.1 API
3 years ago
..
common Use grcov for better code coverage testing 3 years ago
README.md Upgrade to obs-websocket 4.9.0 API 3 years ago
general.rs Provide structures to define projector geometry 3 years ago
media_control.rs Upgrade to obs-websocket 4.9.1 API 3 years ago
outputs.rs Add more integration tests for client requests 3 years ago
profiles.rs Add more integration tests for client requests 3 years ago
recording.rs Upgrade to obs-websocket 4.9.1 API 3 years ago
replay_buffer.rs Close all event streams on disconnect 3 years ago
scene_collections.rs Add more integration tests for client requests 3 years ago
scene_items.rs Upgrade to obs-websocket 4.9.0 API 3 years ago
scenes.rs Upgrade to obs-websocket 4.9.0 API 3 years ago
sources.rs Upgrade to obs-websocket 4.9.1 API 3 years ago
studio_mode.rs Add integration tests for the remaning requests 3 years ago
transitions.rs Upgrade to obs-websocket 4.9.0 API 3 years ago
virtual_cam.rs Upgrade to obs-websocket 4.9.1 API 3 years ago

README.md

Integration tests

To run integration tests, obws will connect to your OBS instance and send several commands against the obs-websocket API to make sure most of the API works as expected.

For this to work, a few settings need to be set and some scene items created so that the tests have items to work on. This has to be done manually as the API doesn't allow to create new sources and scenes or modify specific settings.

  • Use at least OBS version 26.1.2.
  • Create a source collection called OBWS-TEST.
  • Create a profile called OBWS-TEST.
  • Create two scenes called OBWS-TEST-Scene and OBWS-TEST-Scene2.
  • Create two Freetype2 text sources called OBWS-TEST-Text and OBWS-TEST-Text2.
  • Create a browser source called OBWS-TEST-Browser.
  • Create a VLC media source called OBWS-TEST-Media and add a folder with videos to the playlist.
  • Create two transitions called OBWS-TEST-Transition and OBWS-TEST-Transition2.
  • Make sure a global Desktop Audio device is configured.
  • Set any hotkey to P without any modifier keys (like ctrl or alt).