Skip to content

Releases: gtrogers/Cute

0.4.0

06 Jul 20:31
Compare
Choose a tag to compare

Add love 11 compatibility

Tweaks

21 Aug 10:23
Compare
Choose a tag to compare

This version mainly fixes some global variables that were getting created by mistake (thanks @fluffy-critter). It also changes the default start behaviour to do nothing. You have to run cute explicitly with the --cute or --cute-headless options.

I'll look at adding alternate ways to set this behaviour in the coming weeks (e.g. a config file or environment variable).

Minions!

10 Jan 23:58
Compare
Choose a tag to compare

In this version

New features

  • Added minions to spy on hard to test / side-effecty methods (see the readme for an example)
  • Cute.fakeGraphics has been removed in favour of the superior and better named minion
  • Added simple test discovery. Cute will attempt to run any files ending in _tests.lua in the test directory (no subdirectory support yet)
  • Tests can now be focused (e.g. run ignoring all others) with the f_notion method and ignored with the x_notion method.

Fixes

  • Fixed a few errors resulting from test and ref values not behaving when printed
  • Re-implemented the menu bar changing colour when the tests fail

Better testing syntax

28 Dec 23:01
Compare
Choose a tag to compare
  • Switched to a more 'traditional TDD' testing syntax (see examples)
  • Removed the .all() matcher for now, will re-add if someone needs it
  • Fake graphics now calls through to love.graphics functions starting with get, this means graphics.getWidth() etc. should now work in unit tests.

Added fake graphics and table equality

26 Dec 17:01
Compare
Choose a tag to compare

This adds

  • Fake love.graphics functions for testing drawing* see readme for an example
  • Table equality via .likeTable

*note: all love.graphics.getWhatever() currently return nil

Better GUI

26 Dec 02:21
Compare
Choose a tag to compare

Nicer GUI. Now with colours.

0.0.1

26 Dec 00:40
Compare
Choose a tag to compare

Yay, first release. Assume super pre alpha.