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

supersim testsuite creator #34

Merged
merged 2 commits into from
Jul 10, 2024
Merged

supersim testsuite creator #34

merged 2 commits into from
Jul 10, 2024

Conversation

hamdiallam
Copy link
Contributor

@hamdiallam hamdiallam commented Jul 9, 2024

Closes #2

a test suite wrapper over a running instance of supersim. This makes it DRY between tests.

This wrapper will evolve as tests are added

Also introduces a dependency on stretchr/testify to write cleaner tests

@hamdiallam hamdiallam requested a review from a team as a code owner July 9, 2024 17:48
Comment on lines +26 to +28
Cfg *Config
Supersim *Supersim
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a reason that these fields should be public?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For now they could technically be private. I made them public in the even this test suite is used in a diff package

supersim_test.go Outdated Show resolved Hide resolved
supersim_test.go Outdated Show resolved Hide resolved
supersim_test.go Outdated Show resolved Hide resolved
@hamdiallam hamdiallam force-pushed the supersim.testsuite branch from f152658 to 803a3de Compare July 9, 2024 21:11
Copy link
Collaborator

@fainashalts fainashalts left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for getting our test suite started! 🎉

@hamdiallam hamdiallam force-pushed the supersim.testsuite branch from d12c18b to a4e7947 Compare July 10, 2024 15:48
@hamdiallam hamdiallam merged commit d7153fc into main Jul 10, 2024
3 checks passed
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.

Unit Tests for e2e
3 participants