Skip to content

Feature postSetup ut#66

Open
lenaChenv wants to merge 29 commits intojskits:masterfrom
lenaChenv:feature-postSetup-ut
Open

Feature postSetup ut#66
lenaChenv wants to merge 29 commits intojskits:masterfrom
lenaChenv:feature-postSetup-ut

Conversation

@lenaChenv
Copy link
Copy Markdown
Collaborator

No description provided.


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

it(`testCase, global.execCase should be called and the param is equal to ${execCaseParamExpected}`, async () => {
Copy link
Copy Markdown
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
Copy Markdown
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