Skip to content

Conversation

@rocktavious
Copy link
Collaborator

@rocktavious rocktavious commented Jun 12, 2025

Resolves #

Problem

There is no way to know if we are creating regressions with this 2025 upgrade without extensive manual testing back and forth between current and older versions of the CLI

Solution

Add a nice pattern for creating end to end (e2e) tests for the CLI so this can be done easily

Checklist

  • I have run this code, and it appears to resolve the stated issue.
  • This PR has no user interface changes or has already received approval from product management to change the interface.
  • Make a changie entry that explains the customer facing outcome of this change

@rocktavious rocktavious changed the title Setup e2e tests for domain Setup e2e tests for some resources Jun 24, 2025
Copy link

@jasonopslevel jasonopslevel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good start to e2e tests, ran locally and looks good!

@rocktavious rocktavious merged commit 23f5968 into kr/upgrade-opslevel-go-2025 Jun 24, 2025
2 checks passed
@rocktavious rocktavious deleted the kr/e2e-tests branch June 24, 2025 16:31
rocktavious added a commit that referenced this pull request Jun 24, 2025
* Upgrade CLI to opslevel-go 2025

* Cursor’s changed to upgrade opslevel-go

* copilot review feedback

* run task fix

* Apply suggestions from code review

* update submodule of opslevel-go

* Fix lint

* Fix Filters

* Fix Mapstructure problem on event integrations

* Setup e2e tests for some resources (#404)

* Setup e2e tests for domain

* PR feedback

* Checkpoint

* Expand test coverage

* Add system test

* First pass at fixing example command

* more tweaks

* Fix CI

* Fix up all example commands

* More fixes

* fixes

* more fixes for removal of old code

* Update Taskfile.yml

* fix e2e integration tests

* few more tweaks after testing manually
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

Successfully merging this pull request may close these issues.

4 participants