Daily Build and Smoke Test
There are now a set of Daily Builds done on
SvenDowideit's vmware server, and the results are uploaded to
TWiki MAIN build output
and
TWiki 4.2.x release branch
. The unit test suite is run first, and if there are any failures, the build stops, and an email is sent to the
twiki-dev mailing list.
For now, only the latest unit test and build log files are kept, but we could consider keeping them - either inside the autobuild archive, or by using svn..
--
SvenDowideit - 30 Aug 2007
Discussion
The first google search for this gives a nice explanation:
Topics in Codev:
Number of topics: 9
--
SamHasler
For
PostCairoDevelopmentModel it would be good to have a test something like this:
- Tests on auto-generated topic (Test web?)
- Run a viewTestScript on a generated topic
- Run a saveTestScript
- Run a previewTestScript
- Run an attachScriptTest
- Run a searchScriptTest
- Run a rdiffScriptTest
- Run a statisticsScriptTest
- Run a changesScriptTest
- Run a renameScriptTest (topic and attachment?)
- Run an uploadScriptTest
- Run a manageScriptTes
- Run a viewfileScriptTest
- Run an oopsScriptTest
- Run unit tests, where they are defined
- XHTML conformance of a simple page (e.g. WhatIsWikiWiki)
- XHTML conformance of a complex search page
- XHTML conformance of TWikiDocumentation
CPAN:Test::Unit
is a good candidate for running this test. It will use the TWiki run at the head of the DEVELOP branch, though the test script could run anywhere. It should write the latest test results to a Wiki topic (which should then be
WebNotified so people can be alerted, so it would be best if this was on a
WebNotify capable server).
--
CrawfordCurrie
the output of a build, install (at
http://tinderbox.wbniv.wikihosting.com/cgi-bin/twiki/view.cgi/
), and test run are now archived at
http://develop.twiki.org/~develop/cgi-bin/view/Tinderbox/
--
WillNorris - 03 May 2005
Snipped some done history - Its worth going through the remaining to see if there are any things we still should implement.
On my TODO list are:
- add
perlcritic to prebuild checks
- add
perltidy to prebuild checks to show continued conformance to CodingStandards
- add memory and performance tests
- add building of installers where possible
--
SvenDowideit - 31 Jan 2008