Re: [Oorexx-devel] ooRexx Testing

2022-06-27 Thread Gilbert Barmwater
I found this on my system for what it's worth.  Apparently it was posted 
somewhere by Walter in the dim past.


"Developing ooRexx Test Cases

This cookbook documents my hard way to getting rid of my first 
contributions to the

testing of 5.0.0. It's for Windows only,

1) Download SVN if you don't have it
2) Create a directory where you want to maintain the test suite
   I used d:\_ooTest
3) check out the suite with this command in a command window
   making the directory created under 2) the current directory:
 d:\ooTest>svn checkout 
https://svn.code.sf.net/p/oorexx/code-0/test/trunk

   This will create a folder trunk
   The essentials are now:
   d:\_ooTest
   trunk
 framework
 ooRexx
4) add these elements to your path
 d:\_OOTest\trunk;d:\_OOTest\trunk\framework

5) copy a testgroup file from, e.g.,
 d:\_OOTest\trunk\ooRexx\base\bif\ABS.testgroup to d:\ooTest\*.*

6) Edit this file to add tests such as
 ::method "test_104"
    self~expectSyntax(40.3)
    x=abs()

 ::method "test_105"
    self~expectSyntax(93.943)
    x=abs('A')

7) execute the testgroup by
 d:\_ooTest>rexx abs.testgroup

8) When you are happy (the testgroup shows no errors)
   copy your changed file back to
  d:\_ooTest\trunk\ooRexx\base\bif\abs.testgroup

9) now create a patch using this command
  d:\_ooTest\trunk>svn diff > abs.patch

10) Open this page
https://sourceforge.net/p/oorexx/test-cases
    login and create a ticket with the patch attached

Corrections are welcome--
Walter "

Good luck!
Gil

On 6/27/2022 6:53 PM, Rick McGuire wrote:
The tests can be checked out from 
https://svn.code.sf.net/p/oorexx/code-0/test/trunk


This is the test framework and all of the test cases. There's a readme 
file in the root that explains how to run the tests. There's not much 
documentation available on writing the test cases, but there are many, 
many examples available to show you how to do it.


Rick

On Mon, Jun 27, 2022 at 6:42 PM tango foxtrot  wrote:

Hello all,

Many of the open tickets have 'tests' as pending work items.  I'd
like to help out. Is there any available documentation on:

  * how to run the test framework on one's own machine? either all
or part
  * how to construct a test


___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] ooRexx Testing

2022-06-27 Thread Rick McGuire
The tests can be checked out from
https://svn.code.sf.net/p/oorexx/code-0/test/trunk

This is the test framework and all of the test cases. There's a readme file
in the root that explains how to run the tests. There's not much
documentation available on writing the test cases, but there are many, many
examples available to show you how to do it.

Rick

On Mon, Jun 27, 2022 at 6:42 PM tango foxtrot  wrote:

> Hello all,
>
> Many of the open tickets have 'tests' as pending work items.  I'd like to
> help out. Is there any available documentation on:
>
>- how to run the test framework on one's own machine?  either all or
>part
>- how to construct a test
>
>
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] ooRexx Testing

2022-06-27 Thread tango foxtrot

Hello all,

Many of the open tickets have 'tests' as pending work items.  I'd like 
to help out. Is there any available documentation on:


 * how to run the test framework on one's own machine?  either all or part
 * how to construct a test

___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] Documentation build

2022-06-27 Thread P.O. Jonsson
I have written a rexx script that taps into the existing build process and 
build only those documents that have been changed. I have done it on macOS but 
it should work also on Windows. I had to set today as a starting point (the 
documents will get todays date) but they will show the correct revision number 
(when they were last changed). I hope this is fine.

For the upload I have added a folder 5.0.0test for comparing to existing 
documents in 5.0.0beta. I can merge them later.

Please have a look and see if you can spot any visual differences, I have 
checked that the correct fonts are embedded but I have not checked if the 
visual appearance is different on Windows compared to macOS. If accepted I will 
set up a macOS VM for this task and retire the current doc-build on Windows.

For completeness I included also the documentation in html form, This might be 
possible to upload maybe to https://www.oorexx.org/  
once we have an official version.

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se




___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel