Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Migrate the integration test description to Jest folder with standard. #3986

Closed
shuse2 opened this issue Jul 22, 2019 · 0 comments · Fixed by #3985
Closed

Migrate the integration test description to Jest folder with standard. #3986

shuse2 opened this issue Jul 22, 2019 · 0 comments · Fixed by #3985
Assignees
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Jul 22, 2019

Description

While we migrate to the jest integration test, we need a solid standard of how to write the test description.

  • Root level should have the description of scenario what the file is testing.
  • Try to decrease the nesting test as much as possible (prefer 3 level of nesting: root - given - when)
  • Use Given and When phrases on the description (except the root level)
  • it phrase should be followed by should do xxx
  • It should be readable and understandable just by reading the description
  • It should not loose the old scenarios while migrating the description
@nazarhussain nazarhussain self-assigned this Jul 22, 2019
@sridharmeganathan sridharmeganathan added this to the Sprint 3 milestone Jul 24, 2019
shuse2 added a commit that referenced this issue Jul 27, 2019
Restructure the integration tests for Jest - Closes #3986
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants