obws/tests
2020-12-31 16:37:12 +09:00
..
common Add integration tests for the remaning requests 2020-12-31 16:37:12 +09:00
general.rs Add more integration tests for client requests 2020-12-31 14:47:54 +09:00
outputs.rs Add more integration tests for client requests 2020-12-31 14:47:54 +09:00
profiles.rs Add more integration tests for client requests 2020-12-31 14:47:54 +09:00
README.md Add integration tests and fix some API calls 2020-12-29 17:32:57 +09:00
recording.rs Add more integration tests for client requests 2020-12-31 14:47:54 +09:00
scene_collections.rs Add more integration tests for client requests 2020-12-31 14:47:54 +09:00
scene_items.rs Add integration tests for the remaning requests 2020-12-31 16:37:12 +09:00
scenes.rs Add integration tests for the remaning requests 2020-12-31 16:37:12 +09:00
sources.rs Add more integration tests for client requests 2020-12-31 14:47:54 +09:00
studio_mode.rs Add integration tests for the remaning requests 2020-12-31 16:37:12 +09:00
transitions.rs Add integration tests for the remaning requests 2020-12-31 16:37:12 +09:00

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.0.
  • Create a source collection called OBWS-TEST.
  • Create a scene called OBWS-TEST-Scene.
  • Create a Freetype2 text source called OBWS-TEST-Text.
  • Make sure a global Desktop Audio device is configured.