Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: produce diagnostic output for test failures #28

Merged
merged 16 commits into from
Jan 2, 2025
Merged

Conversation

rouson
Copy link

@rouson rouson commented Jan 1, 2025

This PR adds

  1. A new capability for producing diagnostic output when a test fails.
  2. The example-test-suite example demonstrating the use of this new feature.
  3. Adds a doc/uml/ subdirectory containing UML class and sequence diagrams describing the example test suite.

Executing fpm run --example main runs the main program in the new example test suite.

This furthers a pattern of "test_" prefixes in the names of most
of the user-facing features that directly support unit testing.
This commit adds unit tests of the search capability employed when
a user runs a subset of the test suite  by passing a --contains
--contains argument to the test/main.F90 program.
This commit adds an example test suite that can be run with the
command:

fpm run --example main

The resulting output demonstrates the recently capability for
including diagnostic information in test output.
@rouson rouson changed the title Diagnostic output Feature: produce diagnostic output for test failures Jan 2, 2025
@rouson rouson merged commit d379d91 into main Jan 2, 2025
8 checks passed
@rouson rouson deleted the diagnostic-output branch January 2, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant