BTD
build-test-deploy Development Environment

Overview

BTD is meant to be a "Development Environment" (as opposed to an “Integrated Development Environment”) or a suit of tools that can be run from the command line or from scripts to help automate all "boring" stuff while developing (Lua) software. BTD is free software and uses the same license as Lua 5.1

Status

Current version is 1.5.1 and was developed for Lua 5.1. For now the LuaUnit – fork and the first strides into GUI-testing (IUP) are complete and functional.

Download

BTD can be downloaded from its LuaForge page.

Dependencies

BTD depends on luafilesystem 1.4.2.

History

BTD 1.5.2 - 21 Feb 2009
test : new features
test : clean up
  • update documentation
  • changed order of idle processing in iupLoop
  • changed class names Api.lua and Iup.lua to TestApi.lua and TestIup.lua
  • updated examples
BTD 1.5.1 - 16 Feb 2009
test : new features
  • support for a new output format for failed tests
  • command line parameters for verbosity and IDE integration
  • report individual and total test time
  • report absolute directory in failed tests
  • GUI testing for the IUP framework
    • break IUP main loop
    • replace IUP idle loop
test : clean up
  • split up LuaUnit in 3 classes (Api.lua, Result.lua and Test.lua)
  • included functionality of Result.lua in Test.lua (merged)
  • use of self as foreseen in Lua guidelines (> OOP)
  • changed all global to local variables
  • changed all global to local functions (except Api.lua where the original functions are exported to global environment)
  • minimise coupling between tests by restoring _G' environment and 'package.loaded' between test methods and between test classes
  • changed 'Test.run' method to accept packages (eg. a.b.c.Testd)
  • updated LuaUnit.strip_luaunit_stack to use patterns
  • changed comments to LuaDoc format
  • integrated small or one-shot functions in calling functions
BTD 1.4 - 30 Nov 2008
test : new features
  • changed assertEquals to recursively check table results, also enables checking multi result functions assertEquals({fx},{res1,res2,..})
  • added LuaUnit:clear() : clear statistics data
  • added LuaUnit:clearAll() : clear all loaded TestXXX classes from the global environment
  • added test:setUpClass() and test:tearDownClass()
test : clean up
  • fixed calling from the shell
  • removed deprecated functions : table.foreach, .foreachi, .getn and .setn
  • removed orderedNext, orderedPairs : replaced by table.sort()
  • updated LuaUnit.strip_luaunit_stack to properly skip last xpcall and two former lines from stack_trace
  • removed LuaUnit.strsplit, only used in LuaUnit.strip_luaunit_stack
BTD = LuaUnit 1.3 fork - Nov 2008
See history LuaUnit and/or CHANGES.TXT file in distribution

Credits

  • BTD - unit test component based on LuaUnit
  • Web site design based on Copas
  • Logo based on graphic design by Alexandre Nakonechnyj
  • LuaForge for providing project space and management tools

Contact us

Valid XHTML 1.0!

$Id: index.html$