comp.lang.ada
 help / color / mirror / Atom feed
* ANN: Ahven 2.3
@ 2013-01-24 20:41 Tero Koskinen
  2013-01-24 21:06 ` Tero Koskinen
  0 siblings, 1 reply; 2+ messages in thread
From: Tero Koskinen @ 2013-01-24 20:41 UTC (permalink / raw)


Hi,

I am pleased to announce Ahven 2.3.

Starting from this release, the exception backtraces are now
stored to the test results and printed out along with the results.
In addition, the documentation received some improvements,
and the output of multiline messages from TAP_Runner has been fixed.

You can get the source code from SourceForge:
https://sourceforge.net/projects/ahven/files/

Changelog:
(taken from https://bitbucket.org/tkoskine/ahven/src/ahven-2.3/NEWS)

2013-01-24 Ahven 2.3
====================

Changes
-------
    * Various procedure descriptions in the API documentation
      were improved.
    * Character limit of long messages in test results have been
      increased to 1024. On some compilers this means that
      memory usage is over 1 kilobytes per test result.
    * New constant: Ahven.Max_Long_String_Len
    * Exception backtraces are now stored to test results
      when test fails or has an error.

Bugs fixed
----------
    * TAP runner did not output multiline (long) messages correctly.
      This is now fixed.

Internal
--------
    * New package: Ahven.Long_AStrings
    * Some coding style fixes.

Known issues
------------
    * On Fedora 17/18 you need to first install libgnat-static package:

      sudo yum install libgnat-static

      Otherwise GNAT will die with internal error when building Ahven.


About Ahven:

Ahven is a simple unit test library (or a framework) for
Ada programming language. It is loosely modelled after JUnit
and some ideas are taken from AUnit.

Ahven is free software distributed under permissive ISC license
and should work with any Ada 95, 2005, or 2012 compiler.

Homepage:
 http://ahven.stronglytyped.org/

As a new thing, Jovana Milutinovich has kindly translated
Ahven's homepage to Serbo-Croatian language. The translation
is available at http://science.webhostinggeeks.com/ahven-biblioteka

Yours,
 Tero Koskinen, tero.koskinen@iki.fi



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ANN: Ahven 2.3
  2013-01-24 20:41 ANN: Ahven 2.3 Tero Koskinen
@ 2013-01-24 21:06 ` Tero Koskinen
  0 siblings, 0 replies; 2+ messages in thread
From: Tero Koskinen @ 2013-01-24 21:06 UTC (permalink / raw)


On Thu, 24 Jan 2013 22:41:53 +0200
Tero Koskinen <tero.koskinen@iki.fi> wrote:
> I am pleased to announce Ahven 2.3.
> 
> Starting from this release, the exception backtraces are now
> stored to the test results and printed out along with the results.

Here are some examples how the exception backtraces are printed
with various compilers. I have used out-of-the-box default compiler
settings with every compiler and it might be possible to make
the backtraces more or less informative depending on the used
compiler options.

My code for printing the backtraces is equal for every compiler.

Irvine ICCAda on Windows XP
===========================

Errors :  2
 All:
  Ahven.Derived_Tests:
   Test_Case: Test_Count - raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202 ERROR        0.00000s
    PROGRAM_ERROR raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202
  Ahven.Framework:
   Test_Case: Test_Count - raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202 ERROR        0.00000s
    PROGRAM_ERROR raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202



Janus/Ada on Windows XP
=======================

Errors :  2
 All:
  Ahven.Derived_Tests:
   Test_Case: Test_Count - PROGRAM_ERROR           ERROR         0.0002s
    PROGRAM_ERROR
       On Line Number 202 In FRAMEWORK_TESTS.TEST_TEST_CASE_TEST_COUNT
    Called from line number 689 In AHVEN.FRAMEWORK.RUN
    Called from line number 247 In AHVEN.FRAMEWORK.RUN_COMMAND.RUN_A_COMMAND
    Called from line number 295 In AHVEN.FRAMEWORK.RUN_COMMAND
    Called from line number 372 In AHVEN.FRAMEWORK.RUN_INTERNAL
    Called from line number 394 In AHVEN.FRAMEWORK.RUN.EXEC
    Called from line number 100 In AHVEN.SLIST.FOR_EACH
    Called from line number 400 In AHVEN.FRAMEWORK.RUN
    Called from line number 95 In AHVEN.FRAMEWORK.EXECUTE.RUN_IMPL
    Called from line number 80 In AHVEN.FRAMEWORK.EXECUTE_INTERNAL
        --- 10 calls omitted ---

  Ahven.Framework:
   Test_Case: Test_Count - PROGRAM_ERROR           ERROR         0.0002s
    PROGRAM_ERROR
       On Line Number 202 In FRAMEWORK_TESTS.TEST_TEST_CASE_TEST_COUNT
    Called from line number 689 In AHVEN.FRAMEWORK.RUN
    Called from line number 247 In AHVEN.FRAMEWORK.RUN_COMMAND.RUN_A_COMMAND
    Called from line number 295 In AHVEN.FRAMEWORK.RUN_COMMAND
    Called from line number 372 In AHVEN.FRAMEWORK.RUN_INTERNAL
    Called from line number 394 In AHVEN.FRAMEWORK.RUN.EXEC
    Called from line number 100 In AHVEN.SLIST.FOR_EACH
    Called from line number 400 In AHVEN.FRAMEWORK.RUN
    Called from line number 95 In AHVEN.FRAMEWORK.EXECUTE.RUN_IMPL
    Called from line number 80 In AHVEN.FRAMEWORK.EXECUTE_INTERNAL
        --- 10 calls omitted ---


GNAT GPL 2012 on Windows 7
==========================

Errors :  2
 All:
  Ahven.Derived_Tests:
   Test_Case: Test_Count - framework_tests.adb:202 explicit raise ERROR    0.000080760s
    Exception name: PROGRAM_ERROR
    Message: framework_tests.adb:202 explicit raise
    Call stack traceback locations:
    0x409b49 0x423b7e 0x4212b2 0x41b200 0x421883 0x421a69 0x421929 0x421991 0x41abc6 0x41aa58 0x41ab49 0x422626 0x4224ee 0x42256a 0x41
abc6 0x41aa58 0x41ab49 0x425abf 0x427ae2 0x401d5f 0x401b9b 0x4010b9 0x4012a6 0x755333a8 0x77e19ef0 0x77e19ec3

  Ahven.Framework:
   Test_Case: Test_Count - framework_tests.adb:202 explicit raise ERROR    0.000082000s
    Exception name: PROGRAM_ERROR
    Message: framework_tests.adb:202 explicit raise
    Call stack traceback locations:
    0x409b49 0x423b7e 0x4212b2 0x41b200 0x421883 0x421a69 0x421929 0x421991 0x41abc6 0x41aa58 0x41ab49 0x422626 0x4224ee 0x42256a 0x41
abc6 0x41aa58 0x41ab49 0x425abf 0x427ae2 0x401d5f 0x401b9b 0x4010b9 0x4012a6 0x755333a8 0x77e19ef0 0x77e19ec3



-- 
Tero Koskinen - http://iki.fi/tero.koskinen/

PS. Sorry for very long lines, but I think they make sense in this case.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-24 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-24 20:41 ANN: Ahven 2.3 Tero Koskinen
2013-01-24 21:06 ` Tero Koskinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox