Changeset 750cff for src/documentation/tests/tests.dox
- Timestamp:
- Oct 31, 2011, 5:13:52 PM (14 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, Candidate_v1.7.0, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 5982c5
- Parents:
- 19bc74
- File:
-
- 1 edited
-
src/documentation/tests/tests.dox (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/documentation/tests/tests.dox
r19bc74 r750cff 25 25 * testing. Tests are regarded here as a kind of contract. The code itself is 26 26 * just one hand in two hands shaking, the other hand is resembled by the tests 27 * that checks whether the code does exactly what it's supposed to do. Without 28 * testing a larger project is impossible because it cannot evolve. With 29 * increasing size, a project must be refactored 30 * (http://en.wikipedia.org/wiki/Code_refactoring) such that new code does not 31 * have to wiggle itself around the same old issues that are present from the 32 * start. Before one starts refactoring, it must be assured by some means that 33 * the code before and after behaves the same with respect to its intended 34 * functionality. These means are the tests. 27 * that check whether the code does exactly what it's supposed to do. Without 28 * testing a larger project is impossible because it cannot evolve: The old 29 * addage and compromises grow and grow. With increasing size, a project must be 30 * refactored (http://en.wikipedia.org/wiki/Code_refactoring) such that new code 31 * does not have to wiggle itself around the same old issues that are 32 * inadvertently and unavoidably present from the start. Before one starts 33 * refactoring, it must be assured by some means that the code before and after 34 * behaves the same with respect to its intended functionality. These means are 35 * the tests. 35 36 * 36 * Unit tests (http://en.wikipedia.org/wiki/Unit_testing) tests single 37 * components (e.g. classes), dependencies on other classes are often just 38 * mimicked via so-called stubs. These test whether a component always behaves 39 * as desired. 37 * Unit tests (http://en.wikipedia.org/wiki/Unit_testing) check on single 38 * components (e.g. classes), dependencies of the components on other classes 39 * with the test frame are often just mimicked via so-called stubs (sort of 40 * dummy components that don't calculate or do anything but return an expected 41 * result suitable for this test only, see http://en.wikipedia.org/wiki/Test_stubs). 42 * These test whether a component always behaves as desired. 40 43 * 41 44 * Regression test (http://en.wikipedia.org/wiki/Regression_testing) on the other … … 45 48 * has not changed the outcome of older functions. 46 49 * 50 * \section tests-launch-all Launching all tests 51 * 47 52 * Note that all tests can be launched via 48 53 * \code make check \endcode 49 54 * in the top build directory. 50 55 * 51 * \section Policy on launching tests56 * \section tests-policy Policy on launching tests 52 57 * 53 58 * Note that the above run of \e all \e tests \e should \e pass for each and … … 60 65 * runs fine and produces a distributable archive. 61 66 * 67 * \date 2011-10-31 68 * 62 69 */
Note:
See TracChangeset
for help on using the changeset viewer.
