Skip to content
Discussion options

You must be logged in to vote

You can create several tests which all depend on one another, each doing a special job:

[Tests]
  [./testA]
    type = RunCommand
    command = "cp ../foo.i ."
  [../]
  [./testB]
    type = RunApp
    input = foo.i
    prereq = testA
  [../]
  [./testC]
    type = RunCommand
    command = "cp foo.e ../"
    prereq = testB
  [../]
[]

There are a lot of examples available in moose/test/tests/test_harness which we use as controls/unittests.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@permcody
Comment options

@milljm
Comment options

@bielsnohr
Comment options

Answer selected by GiudGiud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants