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

Feature postSetup ut #66

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

lenaChenv
Copy link
Collaborator

No description provided.

packages/tees/__test__/src/lifecycle/postSetupTestData.js Outdated Show resolved Hide resolved

describe('postSetup unit test : testCase', () => {

it(`testCase, global.execCase should be called and the param is equal to ${execCaseParamExpected}`, async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

There are several global parameters(global.X) in the method that need to be overridden.
for example: global.execGlobal,global.execModes....


}),

describe('postSetup unit test : testCase', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need test global.execDrivers include several drivers(puppeteer,chrome...),then check the number of calls to execCase.
Similarly, you need to consider other parameters,for example execTags,groups and options

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.

2 participants