OpenMC/tests
2014-03-27 11:05:10 -04:00
..
test_basic removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_cmfd_feed merged develop into cmfd_rbgs branch 2014-01-31 10:02:29 -05:00
test_cmfd_jfnk removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_cmfd_nofeed merged develop into cmfd_rbgs branch 2014-01-31 10:02:29 -05:00
test_compile Convert test_compily.py to use cmake. 2014-02-02 18:24:28 -05:00
test_confidence_intervals removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_density_atombcm removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_density_atomcm3 removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_density_kgm3 removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_density_sum removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_eigenvalue_genperbatch removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_eigenvalue_no_inactive removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_energy_grid removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_entropy removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_cell removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_cellborn removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_energy removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_energyout removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_group_transfer removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_material removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_mesh_2d removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_mesh_3d removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_filter_universe removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_fixed_source removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_lattice removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_lattice_multiple removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_natural_element Updated test results for three tests. 2014-03-07 18:51:38 -05:00
test_output merged branch develop into xml 2013-10-17 09:59:30 -04:00
test_particle_restart merged develop into test_suite 2013-08-28 17:03:37 -04:00
test_plot_background removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_plot_basis removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_plot_colspec removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_plot_mask removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_ptables_off removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_reflective_cone removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_reflective_cylinder removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_reflective_plane removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_reflective_sphere removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_rotation removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_salphabeta removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_salphabeta_multiple Updated test results for three tests. 2014-03-07 18:51:38 -05:00
test_score_absorption removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_current removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_events removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_fission removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_flux removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_kappafission removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_MT removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_nufission removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_nuscatter removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_scatter removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_scatter_n removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_scatter_pn removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_score_total removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_seed removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_source_angle_mono removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_source_energy_maxwell removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_source_energy_mono removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_source_file Change source_separate to separate in test_source_file.py. 2014-03-06 17:02:04 -05:00
test_source_point removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_sourcepoint_batch added new tests for sourcepoint 2014-01-06 09:57:45 -05:00
test_sourcepoint_interval added new tests for sourcepoint 2014-01-06 09:57:45 -05:00
test_sourcepoint_latest if user wants overwrite latest, source must be separate 2014-03-18 08:50:44 -04:00
test_sourcepoint_restart removed source from separate and write tags 2014-03-04 21:54:50 -05:00
test_statepoint_batch removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_statepoint_interval removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_statepoint_restart removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_statepoint_sourcesep removed source from separate and write tags 2014-03-04 21:54:50 -05:00
test_survival_biasing removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_tally_assumesep removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_trace removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_track_output Run fewer particles for test_track_output. 2013-11-07 10:23:15 +01:00
test_translation removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_uniform_fs removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_universe removed Popen wait and use communicate then get return code 2013-10-16 23:03:40 -04:00
test_void Updated test results for three tests. 2014-03-07 18:51:38 -05:00
cleanup removed extension from cleanup 2014-03-05 17:28:52 -05:00
convert_precision.py PEP8 fixes on convert_precision.py 2013-09-02 17:11:30 -04:00
nose_mpi.py added new tests script to run full test switch with different compiler options 2013-08-16 17:36:44 -04:00
readme.rst Added readme to tests directory. 2013-04-10 22:23:51 -04:00
run_tests.py Merge branch 'develop' into cmake 2014-03-10 17:43:27 -04:00
update_results.py only process statepoint if run was successful 2013-08-28 22:52:21 -04:00

=================
OpenMC Test Suite
=================

The purpose of this test suite is to ensure that OpenMC compiles using various
combinations of compiler flags and options and that all user input options can
be used successfully without breaking the code. The test suite is by no means
complete and should not be viewed as a comprehensive unit test suite will full
coverage. Until more effort can be put into actual unit testing, this suite is a
simple means of making sure that new features added into the code don't break
existing features.

The test suite is designed to run with the third-party Python package
nose_. Running the test suite is as simple as going to the tests/ directory and
running:

.. sh::
    nosetests

However, usually testing is split into two parts: compilation and running. To
run the compilation tests, use:

.. sh::
    nosetests test_compile

Then, to run all the normal tests (which require that an OpenMC executable is
already built):

.. sh::
    nosetests --exclude-dir=test_compile

.. _nose: https://nose.readthedocs.org