This repository has been archived by the owner on Apr 2, 2023. It is now read-only.
Releases: karanjitsingh/jstestadapter
Releases · karanjitsingh/jstestadapter
v1.4.0
v1.3.0
Added a new config NodeModulesPath for custom node modules.
Made fixes to session error handling.
v1.2.6
fix jasmine tests
v1.2.5
npm audit fixes
added support for jest testframework in yarn and pnpm repositories
1.2.1
1.2.0
Message protocol changes between adapter and javascript runner introduce RunAttachments
for test sessions.
Enable code coverage for jest through runsettings using:
<RunSettings>
<JSTest>
<TestFramework>jest</TestFramework>
<CodeCoverageEnabled>true</CodeCoverageEnabled>
</JSTest>
</RunSettings>
Code coverage support for frameworks
- Jest
- Jasmine
- Mocha
1.1.0
Test attachments support for Jest.
import { TestContext } from 'jstestcontext';
describe('Suite', () => {
it('Test', () => {.
// Copies the given file to the appropriate test attachment directory.
TestContext.Attachments.recordAttachment('/path/to/some/file').
});
})
Checkout karanjitsingh/jstestcontext for more usage.
1.0.12
fix pipeline