Skip to content

Commit

Permalink
GUT 9.1.0 Release (#508)
Browse files Browse the repository at this point in the history
* some wiki updates
* more things
* config?
* update icon
* new icon/logo
* some readme changes
* prepping for release
* more wiki updates
  • Loading branch information
bitwes authored Jul 15, 2023
1 parent 01d233f commit 722fcf3
Show file tree
Hide file tree
Showing 28 changed files with 251 additions and 150 deletions.
1 change: 1 addition & 0 deletions .gutconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"res://test/integration/"
],
"should_maximize": false,
"hide_orphans": true,
"should_exit": true,
"ignore_pause": true,
"log_level": 3,
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
* __Issue 485__ GUT prints a warning and ignores scripts that do not extend `GutTest`.
* A lot of internal reworkings to simplify logging and info about test statuses. The summary changed and the final line printed by GUT is now the highest severity status of the run (i.e. failed > pending/risky > passed).
* __Issue 503__ Fixed issue where GUT would not find script object when doubling PackedScenes.
* __Port PR 409__ GUT's simulate function can now check `is_processing` and `is_physics_processing` when running thier respective methods.


# 9.0.1
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![gut logo](images/gut_logo_256x256.png)
# Gut 9.1.0 (Godot 4.1)
GUT (Godot Unit Test) is a unit testing framework for the [Godot Engine](https://godotengine.org/). It allows you to write tests for your gdscript in gdscript.

Expand All @@ -15,25 +16,24 @@ If you would like to help support GUT check out my game [Country or State](https

# Features
* Godot 4.0
* [Simple install](https://github.com/bitwes/Gut/wiki/Install) via the Asset Library.
* A plethora of [asserts and utility methods](https://github.com/bitwes/Gut/wiki/Asserts-and-Methods) to help make your tests simple and concise.
* Support for [Inner Test Classes](https://github.com/bitwes/Gut/wiki/Inner-Test-Classes) to give your tests some extra context and maintainability.
* Doubling: [Full](https://github.com/bitwes/Gut/wiki/Doubles) and [Partial](https://github.com/bitwes/Gut/wiki/Partial-Doubles), [Stubbing](https://github.com/bitwes/Gut/wiki/Stubbing), [Spies](https://github.com/bitwes/Gut/wiki/Spies)
* Command Line Interface [(CLI)](https://github.com/bitwes/Gut/wiki/Command-Line)
* [Parameterized Tests](https://github.com/bitwes/Gut/wiki/ParameterizedTests)
* [Export results](https://github.com/bitwes/Gut/wiki/Export-Test-Results) in standard JUnit XML format.
* [Distribute your tests](https://github.com/bitwes/Gut/wiki/Running-On-Devices) with your project and run them on any platform Godot supports.
* [Simple install](https://bitwes.github.io/GutWiki/Godot4/Install) via the Asset Library.
* A plethora of [asserts and utility methods](https://bitwes.github.io/GutWiki/Godot4/Asserts-and-Methods) to help make your tests simple and concise.
* Support for [Inner Test Classes](https://bitwes.github.io/GutWiki/Godot4/Inner-Test-Classes) to give your tests some extra context and maintainability.
* Doubling: [Full](https://bitwes.github.io/GutWiki/Godot4/Doubles) and [Partial](https://bitwes.github.io/GutWiki/Godot4/Partial-Doubles), [Stubbing](https://bitwes.github.io/GutWiki/Godot4/Stubbing), [Spies](https://bitwes.github.io/GutWiki/Godot4/Spies)
* Command Line Interface [(CLI)](https://bitwes.github.io/GutWiki/Godot4/Command-Line)
* [Parameterized Tests](https://bitwes.github.io/GutWiki/Godot4/ParameterizedTests)
* [Export results](https://bitwes.github.io/GutWiki/Godot4/Export-Test-Results) in standard JUnit XML format.

More info can be found in the [wiki](https://github.com/bitwes/Gut/wiki).

![Panel](https://raw.githubusercontent.com/bitwes/Gut/master/gut_panel.png)


# Getting Started
* [Install](https://github.com/bitwes/Gut/wiki/Install)
* [Quick Start](https://github.com/bitwes/Gut/wiki/Quick-Start)
* [Creating Tests](https://github.com/bitwes/Gut/wiki/Creating-Tests)
* [Asserts and Methods](https://github.com/bitwes/Gut/wiki/Asserts-and-Methods)
* [Install](https://bitwes.github.io/GutWiki/Godot4/Install)
* [Quick Start](https://bitwes.github.io/GutWiki/Godot4/Quick-Start)
* [Creating Tests](https://bitwes.github.io/GutWiki/Godot4/Creating-Tests)
* [Asserts and Methods](https://bitwes.github.io/GutWiki/Godot4/Asserts-and-Methods)


# VSCode Extension
Expand Down
2 changes: 1 addition & 1 deletion addons/gut/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="Gut"
description="Unit Testing tool for Godot."
author="Butch Wesley"
version="9.0.1"
version="9.1.0"
script="gut_plugin.gd"
2 changes: 1 addition & 1 deletion addons/gut/stub_params.gd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func _init(target=null,method=null,subpath=null):
_lgr.warn(str(target, ' is not a valid path'))

if(stub_target is PackedScene):
stub_target = _utils.get_scene_script_object(stub_target)
stub_target = GutUtils.get_scene_script_object(stub_target)

# this is used internally to stub default parameters for everything that is
# doubled...or something. Look for stub_defaults_from_meta for usage. This
Expand Down
2 changes: 1 addition & 1 deletion addons/gut/utils.gd
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ var CollectedScript = load('res://addons/gut/collected_test.gd')
var GutScene = load('res://addons/gut/GutScene.tscn')

# Source of truth for the GUT version
var version = '9.0.1'
var version = '9.1.0'
# The required Godot version as an array.
var req_godot = [4, 1, 0]

Expand Down
Binary file removed asset_lib_icon.png
Binary file not shown.
Binary file added images/asset_lib_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions images/asset_lib_icon.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://bui86s2l35d8k"
path="res://.godot/imported/asset_lib_icon.png-cefa1bdba335eb5ed005a2e1bf540000.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://images/asset_lib_icon.png"
dest_files=["res://.godot/imported/asset_lib_icon.png-cefa1bdba335eb5ed005a2e1bf540000.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file added images/gut_icon_128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions images/gut_icon_128x128.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://coy05lhxtq12r"
path="res://.godot/imported/gut_icon_128x128.png-1c1038b9b42c7fa58521b4fa62ec0f6c.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://images/gut_icon_128x128.png"
dest_files=["res://.godot/imported/gut_icon_128x128.png-1c1038b9b42c7fa58521b4fa62ec0f6c.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file added images/gut_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions asset_lib_icon.png.import → images/gut_logo.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

importer="texture"
type="CompressedTexture2D"
uid="uid://toirmiqhlcnb"
path="res://.godot/imported/asset_lib_icon.png-195a8230d8f4e21994f87ec4f754d7d9.ctex"
uid="uid://dr6c18jg6w3pv"
path="res://.godot/imported/gut_logo.png-647a0efbdd5e0d8d00cef1c7cc7aff8d.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://asset_lib_icon.png"
dest_files=["res://.godot/imported/asset_lib_icon.png-195a8230d8f4e21994f87ec4f754d7d9.ctex"]
source_file="res://images/gut_logo.png"
dest_files=["res://.godot/imported/gut_logo.png-647a0efbdd5e0d8d00cef1c7cc7aff8d.ctex"]

[params]

Expand Down
Binary file added images/gut_logo_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions images/gut_logo_256x256.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://biw60gwe1vv6w"
path="res://.godot/imported/gut_logo_256x256.png-93763dc74b2a88d4193b01553f406371.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://images/gut_logo_256x256.png"
dest_files=["res://.godot/imported/gut_logo_256x256.png-93763dc74b2a88d4193b01553f406371.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file added images/gut_logo_512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions images/gut_logo_512x512.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://m2jo06pvafvb"
path="res://.godot/imported/gut_logo_512x512.png-2b82441fe9284f26dd938b8f90833778.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://images/gut_logo_512x512.png"
dest_files=["res://.godot/imported/gut_logo_512x512.png-2b82441fe9284f26dd938b8f90833778.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
File renamed without changes
10 changes: 5 additions & 5 deletions gut_panel.png.import → images/gut_panel.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

importer="texture"
type="CompressedTexture2D"
uid="uid://cjrdostd274gh"
path="res://.godot/imported/gut_panel.png-51315c4dbef24e14bb14c0ee0272b7be.ctex"
uid="uid://cmsh3ev2pqahl"
path="res://.godot/imported/gut_panel.png-587ffcd50edbcc5c28984221e6ef72b7.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://gut_panel.png"
dest_files=["res://.godot/imported/gut_panel.png-51315c4dbef24e14bb14c0ee0272b7be.ctex"]
source_file="res://images/gut_panel.png"
dest_files=["res://.godot/imported/gut_panel.png-587ffcd50edbcc5c28984221e6ef72b7.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
Expand Down
File renamed without changes
10 changes: 5 additions & 5 deletions icon.png.import → images/icon.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

importer="texture"
type="CompressedTexture2D"
uid="uid://cipm0t44xmsyq"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
uid="uid://c5rimjmvly06y"
path="res://.godot/imported/icon.png-b9450fb2459f5b277908511db3d050dd.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
source_file="res://images/icon.png"
dest_files=["res://.godot/imported/icon.png-b9450fb2459f5b277908511db3d050dd.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 722fcf3

Please sign in to comment.