Skip to content

Plea for more testing.  #2521

Description

@jgfouca

Many basic aspects of CIME functionality are still untested. For example, the key concepts:

  1. Upon model failure, the user will have a message "Model fail, see $logfile" at the bottom of their output.
  2. Upon model build failure, the user will have a message "$component build failure, see $logfile" at the bottom of their output.

... are completely untested.

The barriers to testing CIME are significant:

  1. Two different models
  2. 20+ different machines
  3. How do I test that a feature works for cheyenne on melvin?
  4. Much of cime's configuration is "hard wired", IE, exists in files in the repo. Making it hard to test various XML configurations on the fly.
  5. How do I test that sandiatoss3 would work with X,Y,Z changes to config_batch.xml on melvin?

Proposal:

  1. A new --test option to case.setup that will make it work on any --machine=X regardless of the underlying actual machine.
  2. A new "CIME VM/docker" that will allow us to load and test any arbitrary XML configurations and test them from any machine.
  3. Some tracking of coverage, at least of key features, maybe assisted by LOC coverage.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions