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

Translate Old Testing Method Into the New testing Method #592

Open
naphelps opened this issue May 26, 2022 · 3 comments
Open

Translate Old Testing Method Into the New testing Method #592

naphelps opened this issue May 26, 2022 · 3 comments

Comments

@naphelps
Copy link
Member

Old testing suites:

  • AdminSuite
  • ApiUtilsSuite
  • BusinessSuite
  • CatalogSuite
  • ExchangeConfigSuite
  • ManagementPoliciesSuite
  • NodesSuite
  • OrgsSuite
  • PatternsSuite
  • PerfSuite
  • ServicesSuite
  • SlickSuite
  • UsersSuite
  • VersionSuite

New Method

  • Each route in the Exchange should have its own dedicated test suite.
  • Test suites should be organized into packages based off of route, resource, and sub resource.
  • Test failure states, default success case, and all other alternative success cases.
  • The use of static and dynamic test data injection rather than testcases.
  • Check data in the DB for PUT/POST/DELETE routes
  • Check data in the response body for GET routes
  • Check the resourceChanges table for any routes that make a resource change.
  • Cleanup after the testcases we create
  • Isolate our testcases/test suites/routes from each other.
@naphelps
Copy link
Member Author

Hey @ewee33 I’m using ZenHub in GitHub, click this link to join my workspace and see other features available in GitHub or download the ZenHub extension and sign up with your GitHub account.
Posted using ZenHub

@vineetjain27
Copy link

i want to work on this issue can you accept my request as contributor for this issue

@vineetjain27
Copy link

hey @ewee33 please assign this issue to me.i want to contribute into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants