Files
Bubberstation/code/modules/unit_tests/screenshots
Gandalf 205e55b57f Adds an override to the inhand icon CI check (#16755)
* Update inhands.dm

* ci fix

* ew

* wew

* ew

* wew

* wew

* some hats

* rings and donator clothing

* more guns, pillows, devices

* crush hammer

* Fixing the inhands for the fake announcement device

* traitor_announcer

* Just a handful more fixes, for now.

* lost track of what I changed

* more

* weh

* Okay, now will you pass?

* Update code/modules/projectiles/guns/ballistic/bow.dm

Co-authored-by: tastyfish <crazychris32@gmail.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-10-12 00:29:37 +00:00
..

This folder contains the results for screenshot tests. Screenshot tests make sure an icon looks the same as it did before a change to prevent regressions.

You can create one by simply using the test_screenshot proc.

This example test screenshots a red image and keeps it.

/// This is an example for screenshot tests, and a meta-test to make sure they work in the success case.
/// It creates a picture that is red on the left side, green on the other.
/datum/unit_test/screenshot_basic

/datum/unit_test/screenshot_basic/Run()
	var/icon/red = icon('icons/blanks/32x32.dmi', "nothing")
	red.Blend(COLOR_RED, ICON_OVERLAY)
	test_screenshot("red", red)

Unfortunately, screenshot tests are sanest to test through a pull request directly, due to limitations with both DM and GitHub.