google / google/oss-fuzz

Add button to copy testcase as base64 text

Open
#10,372 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
12.6k
Forks
2.9k
Avg merge
2d 2h
Merged PRs (30d)
62

Description

Currently there are two options: download and view.

I mostly develop via SSH, so there is no convenient way to put testcase to my working environment:

1. download testcase
2. in terminal `cd` to directory with tescase
3. `base64 -i` testcase
4. copy text
5. on remote `echo "PASTE" | base64 -d > tescase`

Alternative is to use`scp`, but that is really more typing.

Steps 1-4 could be replaced with a button that copies base64 encoded testcase into clip-buffer.

Even better, if testcase is copied alongside with echo, base64 and test case name, so it will be just paste-and-enter.

Contributor guide

Open the contributing guide

Research direction

Review the implementation behind the existing testcase Download and View options, then trace where the testcase data reaches the browser. The feature should copy base64 text to the clipboard, ideally as a paste-and-run command including echo, base64 decoding, and the testcase name; verify the result from the testcase view.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.