|
| 1 | +<p align="center"> |
| 2 | + <img width="250" height="250" src="https://github.com/user-attachments/assets/1a1c4f1a-f229-4d6d-bcaa-d5d9826ee639"> |
| 3 | +</p> |
| 4 | + |
1 | 5 | Julienne |
2 | 6 | ======== |
3 | | -``` |
4 | | - _ _ _ |
5 | | - | |_ _| (_) ___ _ __ _ __ ___ |
6 | | - _ | | | | | | |/ _ \ '_ \| '_ \ / _ \ |
7 | | -| |_| | |_| | | | __/ | | | | | | __/ |
8 | | - \___/ \__,_|_|_|\___|_| |_|_| |_|\___| |
9 | | - ``` |
10 | | -Julienne is a modern Fortran unit-testing framework that includes utilities for manipulating strings |
| 7 | +Julienne is a modern Fortran unit-testing framework that includes utilities for manipulating strings |
11 | 8 | via Julienne's `string_t` derived type. The target strings include command-line arguments accessed |
12 | 9 | via Julienne's `command_line_t` type and format strings generated by functions in Julienne's `formats_m` module. |
13 | 10 |
|
14 | 11 | Users construct tests by |
15 | 12 | 1. Extending Julienne's `test_t` abstract derived type, |
16 | 13 | 2. Defining a `subject()` function that returns a description of the entity being tested, |
17 | 14 | 3. Defining a `results()` function that |
18 | | - - Constructs an array of `test_description_t` objects, each of which encapsulates |
| 15 | + - Defines a result comprised of an array of `test_result_t` objects. |
| 16 | + - Defines a local array of `test_description_t` objects, each of which encapsulates |
19 | 17 | * A string describing a function that produces one or more `test_diagnosis_t` result objects, each of which encapsulates |
20 | 18 | * A `logical` indicator of whether the test passed and |
21 | 19 | * A `character` or `string_t` diagnostics string. |
22 | | - * The corresponding function name and |
23 | | - - Produces an array of `test_result_t` objects. |
| 20 | + * The corresponding function name. |
24 | 21 |
|
25 | 22 | Julienne empowers users to customize the diagnostic information that prints when tests fail. |
26 | 23 | For this purpose, Julienne's `string_t` constructors convert various data types, kinds, and ranks to character data. |
27 | 24 | Julienne also provides `string_t` operators supporting concatenation and delimited lists such as comma-separated value lists. |
28 | 25 |
|
29 | 26 | Julienne's name derives from the term for vegetables sliced into thin strings: julienned vegetables. |
30 | 27 | The [Veggies] unit-testing framework inspired the structure of Julienne's tests and output. |
31 | | -Julienne aims to be a more lightweight alternative that is more portable across compilers and compiler versions. |
| 28 | +Julienne aims to be a more lightweight alternative that is more portable across compilers. |
32 | 29 |
|
33 | 30 | Getting Started |
34 | 31 | --------------- |
35 | 32 | Please see the [example-test-suite README.md](./example/example-test-suite/README.md). |
36 | 33 |
|
37 | | -Supported Compilers |
| 34 | +Supported Compilers |
38 | 35 | ------------------- |
39 | 36 |
|
40 | 37 | Compiler | Version(s) Tested | Known Issues |
@@ -104,5 +101,5 @@ See our online [documentation] or build the documentation locally by installing |
104 | 101 | [Veggies]: https://gitlab.com/everythingfunctional/veggies |
105 | 102 | [here]: https://github.com/rouson/handy-dandy/blob/7caaa4dc3d6e5331914a3025f0cb1db5ac1a886f/src/fresh-llvm-build.sh |
106 | 103 | [documentation]: https:///berkeleylab.github.io/julienne/ |
107 | | -[FORD]: https://github.com/Fortran-FOSS-Programmers/ford |
| 104 | +[FORD]: https://github.com/Fortran-FOSS-Programmers/ford |
108 | 105 | [handy-dandy]: https://github.com/rouson/handy-dandy/blob/7caaa4dc3d6e5331914a3025f0cb1db5ac1a886f/src/fresh-llvm-build.sh |
0 commit comments