mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-24 07:34:56 +01:00
6c33d8f614
* Delete humanform.dm * bad NANA!!! * Update simple_animal_freeze.dm * Update changeling.dm * e * wew * Fixes the issue that caused CI to fail compilation * Forgot to remove this one. * wew * fix screenshot unit test * fixes emissive CI * color cutoffs * more emissive fix * Update wardrobes.dm * tallboy * fix * regen screenshots * Update dna.dm * screenshots * Update dna.dm * Fixes the lesserform unit test * Adds our own monkey screenshots because we have monkey jumpsuits :) --------- Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
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.