Skip to content

Commit

Permalink
Release of v3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebird75 committed Mar 6, 2018
1 parent a4642bd commit 2f576a7
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 16 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ by Philippe Fremy
LuaUnit is a popular unit-testing framework for Lua, with an interface typical
of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports
several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms
(Jenkins, Maven, ...).
(Jenkins, Hudson, ...).

For simplicity, LuaUnit is contained into a single-file and has no external dependency. To start using it,
just add the file *luaunit.lua* to your project. A [LuaRocks package](https://luarocks.org/modules/bluebird75/luaunit) is also available.
Expand All @@ -20,7 +20,7 @@ Tutorial and reference documentation is available on
[read-the-docs](http://luaunit.readthedocs.org/en/latest/)

LuaUnit may also be used as an assertion library, to validate assertions inside a running program. In addition, it provides
a pretty stringifier, to convert any type into a nicely formatted string (including complex nested or recursive tables).
a pretty stringifier which converts any type into a nicely formatted string (including complex nested or recursive tables).

## More details

Expand Down Expand Up @@ -132,7 +132,7 @@ the Lua version and installation directory. It uses, by default, Linux paths tha

### History

#### Version 3.3 - in progress
#### Version 3.3 - 6. March 2018
* General
** when comparing lists with assertEquals(), failure message provides an advanced comparison of the lists
** assertErrorMsgEquals() can check for error raised as tables
Expand Down
25 changes: 21 additions & 4 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,9 @@ Version 3.4:
- better detection of screen size
- catch the os.exit call with a handler or something, to avoid aborting the tests
- move all file:line description to stack trace
- better deal with one line formatting


TODO for 3.3 release:
===============
- revert changes on prettystr for dealing with oneline

Done since 3.2:
===============
- make sure that example source code is included in documentation when packaging
Expand Down Expand Up @@ -148,6 +145,26 @@ x sequence asserts
x compatibilty tests with several version of lua
x add assertNotEquals

Release TODO:
=============
- all tests green in Travis and AppVeyor
- doc is green in read-the-docs
- documentation is updated with release content
- doit.py runtests success
- tag set on the code
- upload release to GitHub
- prepare luarocks and upload to luarocks
- verify smooth installation of luarocks
- annonce release on lua mailing-list












Expand Down
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Introduction
LuaUnit is a popular unit-testing framework for Lua, with an interface typical
of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports
several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms
(Jenkins, Maven, ...).
(Jenkins, Hudson, ...).

For simplicity, LuaUnit is contained into a single-file and has no external dependency. To start using it,
just add the file *luaunit.lua* to your project. A `LuaRocks package`_ is also available.
Expand Down Expand Up @@ -142,7 +142,7 @@ Version and Changelog
=====================
This documentation describes the functionality of LuaUnit v3.2 .

New in version 3.3 - In progress
New in version 3.3 - 6. Mar 2018
--------------------------------
* General
* when comparing lists with :func:`assertEquals`, failure message provides an advanced comparison of the lists
Expand Down
2 changes: 1 addition & 1 deletion doit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
VERSION='3.3'
RELEASE_NAME='luaunit-%s' % VERSION
RELEASE_DIR='release/' + RELEASE_NAME + '/'
RELEASE_TAG='LUAUNIT_V3_3-rc1'
RELEASE_TAG='LUAUNIT_V3_3'
TARGET_ZIP=RELEASE_NAME + '.zip'
TARGET_TGZ=RELEASE_NAME + '.tgz'
REPO_PATH='d:/work/luaunit/luaunit-git/luaunit3/'
Expand Down
2 changes: 1 addition & 1 deletion example_with_luaunit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ TestToto = {} --class
end


-- class TestToto
-- class TestTiti

TestTiti = {} --class
function TestTiti:setUp()
Expand Down
5 changes: 2 additions & 3 deletions luaunit-3.3.0-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package = "LuaUnit"
version = "3.3.0-1"
source =
{
-- url = 'https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_3/luaunit-3.3.zip'
url = 'release/luaunit-3.3.zip'
}

Expand All @@ -14,15 +13,15 @@ description =
LuaUnit is a popular unit-testing framework for Lua, with an interface typical
of xUnit libraries (Python unittest, Junit, NUnit, ...). It supports
several output formats (Text, TAP, JUnit, ...) to be used directly or work with Continuous Integration platforms
(Jenkins, Maven, ...).
(Jenkins, Hudson, ...).
For simplicity, LuaUnit is contained into a single-file and has no external dependency.
Tutorial and reference documentation is available on
[read-the-docs](http://luaunit.readthedocs.org/en/latest/)
LuaUnit may also be used as an assertion library, to validate assertions inside a running program. In addition, it provides
a pretty stringifier, to convert any type into a nicely formatted string (including complex nested or recursive tables).
a pretty stringifier which converts any type into a nicely formatted string (including complex nested or recursive tables).
]],
homepage = "http://github.com/bluebird75/luaunit",
Expand Down
1 change: 0 additions & 1 deletion luaunit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Homepage: https://github.com/bluebird75/luaunit
Development by Philippe Fremy <[email protected]>
Based on initial work of Ryu, Gwang (http://www.gpgstudy.com/gpgiki/LuaUnit)
License: BSD License, see LICENSE.txt
Version: 3.2
]]--

require("math")
Expand Down
1 change: 0 additions & 1 deletion test/test_luaunit.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
--[[
Author: Philippe Fremy <[email protected]>
License: BSD License, see LICENSE.txt
]]--

-- Return a function that appends its arguments to the `callInfo` table
Expand Down

0 comments on commit 2f576a7

Please sign in to comment.