Skip to content

Commit

Permalink
Merge pull request #53 from bitwes/next_release
Browse files Browse the repository at this point in the history
6.3
  • Loading branch information
bitwes authored Apr 24, 2018
2 parents 022cf87 + bb4bb38 commit 8b6a765
Show file tree
Hide file tree
Showing 41 changed files with 1,465 additions and 1,209 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/icon.png export-ignore
/project.godot export-ignore
/README.md export-ignore
/.gutconfig.json export-ignore

/scenes export-ignore
/scripts export-ignore
Expand Down
6 changes: 6 additions & 0 deletions .gutconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"dirs":["res://test/unit/", "res://test/integration/", "res://test/parsing_and_loading_samples/"],
"should_exit":true,
"ignore_pause":true,
"log": 3
}
44 changes: 44 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,50 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

# 6.3.0

### Wiki
First, the [Readme has been broken up into a Github wiki](https://github.com/bitwes/Gut/wiki). I think this will make consuming the help easier. There is probably some room for improvement in the documentation and organization. Create issues for anything that could be done better.

### Inner Test Classes
You can now create "Inner Classes" that run tests. This allows you to breakup your tests and create multiple setup/teardown scopes in a single script.

Example:
``` python
extends "res://addons/gut/test.gd"

class TestInnerClass:
extends "res://addons/gut/test.gd"

func setup():
pass

class TestInnerClass2:
extends "res://addons/gut/test.gd"

func setup():
pass
```

### Command line config file
There is now support for a config file for the command line tool. It only supports some options right now, but that will be expanded in the future.
``` json
{
"dirs":["res://test/unit/", "res://test/integration/"],
"should_exit":true,
"ignore_pause":true,
"log": 3
}
```

### Experimental Doubles and Stubs
There are also two new experimental features in this release. Doubling and Stubbing. These are experimental because their implementation could change a lot. I hope not, but they might. I fought with how these should work a lot, and honestly, I might have gotten it wrong. So I'm going to put it out there and see how they get used in the wild. I'm dedicated to keeping these features and improving on them, but they might be a little rough around the edges.

[You can find out more about Stubbing and Doubling in the Wiki.](https://github.com/bitwes/Gut/wiki)

### Yet another repo reorg
Big thanks to [cmfcmf](https://github.com/cmfcmf) for introducing me to `.gitattributes` and creating a PR to put the old repo structure back. Now that I can easily exclude files from the exported zip file, this should be the last reorg or the repo.

# 6.2.0
* Some new asserts courtesy of Myrkrheim
``` python
Expand Down
Loading

0 comments on commit 8b6a765

Please sign in to comment.