pFUnit
{{Short description|Fortran framework for unit testing}}
{{multiple issues|
{{notability|date=October 2012}}
{{more citations needed|date=April 2014}}
}}
{{lowercase|title=pFUnit}}
pFUnit is a Fortran programming language framework for unit testing following the xUnit model.{{cite journal | title=Software Testing and Verification in Climate Model Development | journal=IEEE Software | doi=10.1109/MS.2011.117 | year=2011 | last1=Clune | first1=T. L. | last2=Rood | first2=R. B. | volume=28 | issue=6 | pages=49–55 | hdl=2060/20110015506 | s2cid=4568197| hdl-access=free }} Capabilities include parallel execution using MPI and OpenMP.{{cite web | url=http://pfunit.sourceforge.net | title=pFUnit 3 - Documentation 'Reference Manual' | access-date=January 16, 2014}} Development began at NASA Goddard Space Flight Center in 2005. The framework makes extensive use of modern standard features of Fortran (2003, 2008), like support for object-oriented programming. A python-based preprocessor provides directives reminiscent of other xUnit testing frameworks (e.g. @assert), as well as support for parameterized test cases. pFUnit can be built using either a GNU make or CMake process.
It is published under the NASA Open Source Agreement version 1.3.{{cite web | url=http://sourceforge.net/p/pfunit/code/ci/master/tree/LICENSE | title=NASA Open Source Agreement version 1.3 | access-date=January 16, 2014}}
See also
References
{{reflist}}
External links
- [https://github.com/Goddard-Fortran-Ecosystem/pFUnit GitHub project page]
- [http://sourceforge.net/projects/pfunit/ SourceForge project page]
- [http://science.gsfc.nasa.gov/610.3/pFUnit.html NASA GSFC project page]
- [https://opensource.gsfc.nasa.gov/projects/FUNIT/ NASA Open Source Catalog: pFUnit project page]
- [https://web.archive.org/web/20220121004551/http://sea.ucar.edu/sites/default/files/pFUnitTutorial.pdf Archived tutorial (Version 1, by T. Clune, NASA/GSFC, 2012) – Wayback Machine]
Category:Unit testing frameworks
{{compu-prog-stub}}