|
|
Write a test cases for Fortran code
Hi
Can anyone tell me a toolkit to create a test case for
subroutine/functions written in Fortran, it's best if I can use it
with emacs. I hope there is something similar to PerlNow mode in
emacs.
Thanks,
Tuan
Comp.Biology and Bioinformatics, GMU
|
|
0
|
|
|
|
Reply
|
hoangtrongminhtuan (17)
|
7/22/2009 6:21:06 PM |
|
bio_amateur wrote:
> Hi
Hi.
> Can anyone tell me a toolkit to create a test case for
> subroutine/functions written in Fortran, it's best if I can use it
> with emacs. I hope there is something similar to PerlNow mode in
> emacs.
There are a few choices -- see wikipedia:
http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#Fortran
I know we used to have an emacs minor mode for fUnit, but I don't
recall if it is in the current distribution.
Regards,
--
Bil Kleb
http://twitter.com/bil_kleb
|
|
0
|
|
|
|
Reply
|
Bil.Kleb (900)
|
7/22/2009 6:51:18 PM
|
|
On Jul 22, 2:51=A0pm, Bil Kleb <Bil.K...@nasa.gov> wrote:
> bio_amateur wrote:
> > Hi
>
> Hi.
>
> > =A0Can anyone tell me a toolkit to create a test case for
> > subroutine/functions written in Fortran, it's best if I can use it
> > with emacs. I hope there is =A0something similar to PerlNow mode in
> > emacs.
>
> There are a few choices -- see wikipedia:
>
> =A0http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#Fortran
>
> I know we used to have an emacs minor mode for fUnit, but I don't
> recall if it is in the current distribution.
>
> Regards,
> --
> Bil Klebhttp://twitter.com/bil_kleb
Thanks Bil for your information. I couldn't find out a funit minor
mode; yet there is something with funit testing framework from here:
http://nasarb.rubyforge.org/funit/
Tuan
|
|
0
|
|
|
|
Reply
|
hoangtrongminhtuan (17)
|
7/23/2009 3:34:47 PM
|
|
bio_amateur wrote:
>
> Thanks Bil for your information. I couldn't find out a funit minor
> mode; yet there is something with funit testing framework from here:
> http://nasarb.rubyforge.org/funit/
The current release of FUnit does have some emacs modes in the
utils directory, e.g.,
% ls /usr/local/lib/ruby/gems/1.8/gems/funit-0.10.2/utils/
errorFinder.el funit-generic-mode.el funit-mode.el
Regards,
--
Bil Kleb
http://fun3d.larc.nasa.gov
http://twitter.com/bil_kleb
|
|
0
|
|
|
|
Reply
|
Bil.Kleb (900)
|
7/23/2009 11:37:05 PM
|
|
|
3 Replies
40 Views
(page loaded in 0.092 seconds)
Similiar Articles: write out large array to ascii file - comp.lang.fortran... is too slow OPEN(file_ID, 'filename', action='write ... and you can't trivially do much about it in Fortran code. ... O hurts there as well because in most cases ... intent(out) for pointer dummy argument - comp.lang.fortran ...But just as in the integer case, it is disallowed to test those bits ... ll claim that a developer that would write code ... problem with mixed c and fortran code - comp.lang ... reordering expressions with NaN - comp.lang.fortranIn Fortran, you need ()'s to ... to see why one would write that, other than as a potential test for NaN. (Though possibly as machine generated code in those cases ... Fortran 95 equivalent of read(..., POS=...) - comp.lang.fortran ...I am trying to compile a fortran 2003 code using a fortran ... access='stream') read (10) c write ... probably would have asked for actual code. But I do make case-by ... Sockets in gfortran? - comp.lang.fortran... has someone seen or developed Fortran code ... statptr->st_mode & S_IFMT) { case S ... To test Richard Maine's TCP C code subroutine write_error_sub(msg) character ... problem with mixed c and fortran code - comp.lang.fortran .......in the case of gcc, goat's entrails are ... you very much for taking the time to test my code. -- write ... interface issues by modifying the Fortran code ... Detecting floating-point error code from Windows Gfortran - comp ...I would prefer if possible not to write ... available on free trial, so you can test ... feasible to >append your own code to libgfortran. No, you wouldn't. A Fortran ... ftnchek: identifier has embedded space - comp.lang.fortran ...my example test.f95 is 5 lines long ... ftnchek is utility for Fortran 77 code with a few ... certain [cherry-picked] Fortran 2003 features - in which case such a flag ... is there any parallel fortran code for matrix diagonalization ...slow MUL & DIV - comp.lang.asm.x86 Perhaps there are no cases ... Open Directory - Computers: Programming: Languages: Fortran ..... the need to write any Fortran code to ... Usage of iso_c_binding - comp.lang.fortran> > -- > Tim Prince Tim, Ah, I forgot that when writing my ... cpp $ gfortran -c invokeF_F.f03 $ g++ -o test ... you have any tips for the best way to build the fortran code ... FORTRAN Source Codes - Iowa State UniversityFORTRAN Source Codes ... routines the LINPACK guys forgot to write; ... of sets of random points for test data; RAW ... Writing Test Cases | What Is A Test Case | JUnit Coding ConventionsWriting Test Cases What is a test case. There are many ways to write test cases. Overall, we can say a test case is a code fragment that programmatically checks that ... 7/22/2012 7:08:37 PM
|
|
|
|
|
|
|
|
|