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

Etablere automatisk kjøring av integrasjons/e2e-tester i alle miljø ifm deploy #80

Closed
Tracked by #79
elsand opened this issue Jun 6, 2023 · 0 comments
Closed
Tracked by #79
Assignees
Labels
tests Issue related to test development

Comments

@elsand
Copy link
Member

elsand commented Jun 6, 2023

No description provided.

@elsand elsand added this to the Forvaltning ferdig etablert milestone Jun 6, 2023
@elsand elsand added monitoring Issue related to logging and monitoring tests Issue related to test development and removed monitoring Issue related to logging and monitoring labels Jul 18, 2023
@elsand elsand self-assigned this Oct 18, 2023
elsand added a commit that referenced this issue Apr 19, 2024
…#643)

This enables automatic running of K6 E2E tests after successful app
revision deploy

## Description

This refactors the dispatch-only K6 runner to a reusable action, which
is used in CI/CD workflows as well as a dispatch-workflow, which now
takes a path to a test suite to run, eliminating the need for different
dispatches for functional and non-functional tests.

Reporting of the tests are performed with a third-party action-plugin to
utilize GIthub support for junit.xml format. Having some issues getting
this to work properly locally with `act`, so this will have to be tested
in Github. Unclear how rich the reporting within Github can be, but
hopefully we can at least get the job to be marked as failed if any
tests fail as reported by K6. For additional details, the stdout log
will have to be consulted.

In the future, we might want to incorporate more custom handling of the
summary and eg. integrate the Slack Notifier bot.

## Related Issue(s)

- #80 

## Verification

- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
@elsand elsand closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Issue related to test development
Projects
None yet
Development

No branches or pull requests

1 participant