nextcloud / nextcloud/twofactor_gateway

RFC: Integration Tests -- How To?

Open
#672 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
122
Forks
63
Avg merge
3d 17h
Merged PRs (30d)
23

Description

Just some brain-storming: this app adds means to obtain the second authentication factor via various service providers. It would be nice to have some "integration tests" -- ideally for all service providers. How could this be done? As most of the service providers require some sort of registration I suppose that this would require a test-account for each service provider (Signal, various SMS-Provides, Ouch WhatsApp etc.).

Perhaps one could ask for sponsoring? Concerning Signal one just needs any telephone number. For other services it might be different.

It would be cool to be able to perform real usage tests against the set of the currently -- perhaps -- supported providers.

Just writing this as an RFC (Request For Comments).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The RFC names no files, tests, or entry points. Start by mapping the existing Signal, SMS, and WhatsApp provider integrations and reviewing how each would require registration or test accounts. Done would require an agreed integration-testing approach and a practical way to exercise the currently supported providers.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
security, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.