[PROPOSAL] export a pimo play sandbox as venom test
- Dominant language
- Go
- Stars
- 43
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
This is a proposal to add link in the pimo play page to export current status as non regression test in venom test.
We could create a drop-down buttons list on the upper right corner (similar to https://jqplay.org/).
Buttons :
- Share : copy link
- Export as Venom Test
**The venom test is :**
```yaml
name: "test generated from pimoplay "
testcases:
- name: declaring cache
steps:
- script: rm -f masking.yml
- script: |-
cat > masking.yml <
EOF
- script: |-
cat > input.jsonl <
EOF
- script: |-
cat > expected.jsonl <
EOF
- script: |-
< input.jsonl pimo > result.jsonl
assertions:
- result.code ShouldEqual 0
- script: |-
diff expected.jsonl result.jsonl
assertions:
- result.code ShouldEqual 0
- result.systemout ShouldBeEmpty
```
Contributor guide
Research direction
Start with the pimo play page described in the issue and review linked pull request #178 to understand the work already underway. Done means the page can share its current state and export the masking, input, and expected cells as a runnable Venom test matching the shown structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100