Provisioning test accounts

c__c__

Hi,

I'd like to set up some automated testing for my wrapper(s) around the op utility, but for obvious reasons do not want the tests to use my primary account. I could add a test user to my shared/family-plan style account, but it would still have access to any shared vaults, I think. I would prefer not to pay for an additional individual subscription just to run tests.

Would it be possible to create limited use test accounts (perhaps self-deleting after some time period, or a restricted to a certain number of items, or restricted to CLI use, or other options) for the purpose of testing op in isolation from primary account credentials? Or does something like this already exist and I overlooked it?

Thanks,
C


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

Comments

  • cohixcohix

    Team Member

    @C__

    The only option available here would be to convert your account to a Teams account and use a guest account for testing.

    Alternatively, you can open source your wrappers and then get yourself added to https://github.com/1Password/1password-teams-open-source

    :)

  • @cohix , they are (or will be) open source, but I do not have much to show at this time (chicken and egg problem). I will take you up on that when I have something more fleshed out. Thanks!

  • cohixcohix

    Team Member

    @C__ Let me know if there's anything I can do to help, you can email me (connor [at] agilebits.com) if there are any workflow improvements or questions you may have.

  • I really appreciate the offer, @cohix. Thank you.

    Right now the main things I struggle with are things I've already brought up on this subforum:

    • I would appreciate more thorough documentation of the op utility. The "Full Documentation" page reads like a high-level overview. It'd be nice to see:

      • The entire command tree documented, as well as
      • Expected output (stdout, stderr, exit code) on success or in various error conditions.
      • Can the tool produce json that is not well-formed, or is it guaranteed to be well-formed? That kind of thing.
      • It's not necessarily the best example, but Python is at least a good starting point for what that might look like.
    • I will eventually need to be able to edit existing items, preserving history. Not just delete and create new ones. :)

    I understand that both of these are on your radar or even in progress already, and I also understand the realities of needing to prioritize how software development time is spent. :)

  • cohixcohix

    Team Member

    @C__,

    We are indeed aware of all of the above :) Thanks for keeping us on our toes.

  • brentybrenty

    Team Member

    Indeed, the feedback is greatly appreciated. Cheers! :)

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file