Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC for App Test Suite #569

Closed
6 tasks done
apburnes opened this issue Sep 13, 2021 · 2 comments
Closed
6 tasks done

RFC for App Test Suite #569

apburnes opened this issue Sep 13, 2021 · 2 comments

Comments

@apburnes
Copy link
Contributor

apburnes commented Sep 13, 2021

In order to improve our confidence in the app platform, we want to write an RFC on how we test

Acceptance Criteria

  • A published and discussed RFC for testing the platform
  • Create acceptance tests to test app egress rules to demonstrate an initial working version

Security considerations

none

Implementation sketch

The following should be completed to start the review of the RFC

  • Outline goals for the testing suite
  • Diagram the workflow
  • Document contributing future tests
  • Add initial acceptance test to demonstrate workflow
@bengerman13
Copy link
Contributor

The approximate workflow we have in mind:

the test runner should be configured with a matrix of tests. Each test should be an endpoint on a CF web application. The runner should know these things about each test:

  • org
  • space
  • app
  • endpoint
  • expected http status code
  • pattern or string to match http response body

not yet figured out:

  • should the runner be responsible for starting these apps?
  • should we include during-deployment tests, or just acceptance tests run after cf deploys?
  • should tests live in cg-deploy-cf? in separate repos by test app? in a monorepo, but not cg-deploy-cf?

@apburnes
Copy link
Contributor Author

apburnes commented Oct 8, 2021

Closed by #570 and #568

@apburnes apburnes closed this as completed Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants