Open ruettenm opened 4 years ago
The thing I don't like about this: if you want to do a full demo about the tool, including modification the Gopass store (add, delete, edit secret values etc) a simple test data provider is not enough.
After adding or deleting a secret Gopass UI retrieves all secret names again and re-builds the navigation tree. When using hard-coded test data, one would need to implement a mocked version of Gopass that behaves like real Gopass in terms of deletion, adding, editing and so on. I don't have a good feeling about adding this to the production code. Also it's more work. I would prefer having a shell script that generates a Gopass store with test data.
It would be great to add a new menu entry to switch into some "testdata" mode. So it's easy to take screenshots without any production gopass store.
One solution could be:
?test-data=1
when the "test-data"-mode is active.