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

Add support for the Cadence Testing Framework #487

Merged
merged 24 commits into from
Dec 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
increase timeout
jribbink committed Dec 6, 2023
commit 1d37c33f8c40e2a8d518bde5839b71ca58fef1f0
4 changes: 2 additions & 2 deletions extension/test/integration/6 - test-provider.test.ts
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ suite('test provider tests', () => {
{ filepath: path.join(workspacePath, 'test/bar/test2.cdc'), id: ':testFailing', message: 'FAIL: Execution failed:\nerror: assertion failed\n --> 7465737400000000000000000000000000000000000000000000000000000000:8:2\n' },
{ filepath: path.join(workspacePath, 'test/bar/test3.cdc'), id: ':testFailing', message: 'FAIL: Execution failed:\nerror: assertion failed\n --> 7465737400000000000000000000000000000000000000000000000000000000:4:2\n' }
])
}).timeout(5000)
}).timeout(20000)

test('runs individual test and reports results', async function () {
let runSpy: sinon.SinonSpiedInstance<vscode.TestRun> | undefined
@@ -109,5 +109,5 @@ suite('test provider tests', () => {
{ filepath: path.join(workspacePath, 'test/test1.cdc'), id: ':testPassing' }
])
assert.deepStrictEqual(failedTests, [])
}).timeout(5000)
}).timeout(20000)
})