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

Add optional names to Steps #86

Merged
merged 3 commits into from
Apr 22, 2024
Merged

Add optional names to Steps #86

merged 3 commits into from
Apr 22, 2024

Conversation

mmcgr
Copy link
Contributor

@mmcgr mmcgr commented Apr 19, 2024

Add an optional name to steps.

@test_rel(query="def", include_stdlib=false, inputs=Dict(:a=>[1,2]))

=>

Test Summary:                   | Pass  Fail  Total   Time
REPL[2]:1 @ REPL[2]:1           |    8     1      9  39.5s
  configuration                 |    3            3  32.1s
  inputs                        |    3            3   1.4s
  REPL[2]:1 @ REPL[2]:1 - step3 |    2     1      3   4.8s```
@test_rel(steps=[
    Step(name="before-test-1", query="def insert[:a] {1}"),
    Step(name="before-test-2", query="def insert[:b] {2}"), 
    Step(query="def insert[:c] { a + a }"),
    Step(name="validation-1", query="ic () requires { c = 3 }"),
])

=>

Test Summary:                   | Pass  Fail  Total   Time
REPL[5]:1 @ REPL[5]:1           |   11     1     12  12.9s
  before-test-1                 |    3            3   1.2s
  before-test-2                 |    3            3   1.1s
  REPL[5]:1 @ REPL[5]:1 - step3 |    3            3   1.7s
  validation-1                  |    2     1      3   8.5s

@mmcgr mmcgr requested review from mcmcgrath13 and ttonelli April 19, 2024 00:42
src/testrel.jl Outdated Show resolved Hide resolved
src/testrel.jl Outdated Show resolved Hide resolved
Copy link
Contributor

@mcmcgrath13 mcmcgrath13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmcgr mmcgr merged commit f9fa62f into master Apr 22, 2024
6 checks passed
@mmcgr mmcgr deleted the mm-step-names branch April 22, 2024 07:24
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.

2 participants