This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Fortran testing strategies
Quoting Andreas Voellmy <andreas.voellmy@gmail.com>:
> I'm pretty new to this list. I've noticed a lot of posts mentioning
> test suites. I'm wondering if someone could describe how the fortran
> test suites are implemented. Are they written with the help of a test
> framework, maybe something like the xUnit frameworks? Are there some
> useful utility functions people have developed?
>
> I'm asking because I am adding some new features on a large fortran
> project and I'd like to incorporate unit testing on these new
> features. It would be great if anyone can share their test strategies
> here.
Please note that we're testing the compiler, so your requirements might be
different. We're using the dejagnu testing framework, which is not really
something we enjoy. A good start for documentation on gcc's testsuite can be
found here: http://gcc.gnu.org/wiki/TestingGCC
HTH,
- Tobias Schlüter