OpenMC/tests
2013-04-10 22:23:51 -04:00
..
test_basic Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_compile Added PROFILE=yes cases to test_compile. 2013-02-21 20:37:11 -05:00
test_confidence_intervals Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_density_atombcm Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_density_atomcm3 Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_density_kgm3 Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_density_sum Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_eigenvalue_genperbatch Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_eigenvalue_no_inactive Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_energy_grid Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_entropy Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_cell Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_cellborn Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_energy Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_energyout Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_group_transfer Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_material Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_mesh_2d Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_mesh_3d Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_filter_universe Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_fixed_source Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_lattice Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_lattice_multiple Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_natural_element Added test for <element>. 2013-02-08 16:40:40 -05:00
test_output Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_particle_restart Change particle restart test to check for output on stderr rather than checking the return status. 2013-04-09 17:19:10 -04:00
test_plot_background Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_plot_basis Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_plot_colspec Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_plot_mask Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_ptables_off Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_reflective_cone Fix distance to surface for cones, again. Closes #143. 2013-02-01 22:06:50 -05:00
test_reflective_cylinder Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_reflective_plane Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_reflective_sphere Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_rotation Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_salphabeta Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_salphabeta_multiple Added test for multiple S(a,b) tables. 2013-02-08 16:44:22 -05:00
test_score_absorption Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_current Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_events Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_fission Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_flux Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_kappafission Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_MT Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_nufission Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_nuscatter Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_scatter Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_scatter_n Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_scatter_pn Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_score_total Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_seed Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_source_angle_mono Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_source_energy_maxwell Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_source_energy_mono Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_source_point Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_statepoint_batch Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_statepoint_interval Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_statepoint_restart Add tallies.xml to test_statepoint_restart. 2013-02-23 11:12:41 -05:00
test_statepoint_sourcesep Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_survival_biasing Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_tally_assumesep Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_trace Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_translation Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_uniform_fs Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_universe Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
test_void Added test suite based on nosetests. Closes #27. 2013-02-01 15:22:32 -05:00
readme.rst Added readme to tests directory. 2013-04-10 22:23:51 -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