Releases: gemini-testing/testplane
Releases · gemini-testing/testplane
hermione/8.9.3
hermione/7.5.7
v8.11.2
hermione/8.9.2
v8.11.1
v8.11.0
v8.10.0
Rename to Testplane without breaking backward compatibility
Migration guide Hermione -> Testplane: https://github.com/gemini-testing/testplane/blob/master/docs/migration-from-hermione.md
v0.1.3
🚀 Improvements
- add ability to specify dev server in config file (#911)
Usage example
// .testplane.conf.ts
const SERVER_PORT = 3000;
...
export default {
...
devServer: {
command: "npm run server:dev",
env: {PORT: SERVER_PORT},
readinessProbe: {
url: `http://localhost:${SERVER_PORT}/health`
}
}
}
Creates dev server with command "npm run server:dev", pass PORT
env variable and wait until its ready to receive network requests
Command could also be "node some/file.js
" or something else.
hermione/8.9.0
🚀 Improvements
- add ability to specify dev server in config file (#909)
Usage example
// .hermione.conf.ts
const SERVER_PORT = 3000;
...
module.exports = {
...
devServer: {
command: "npm run server:dev",
env: {PORT: SERVER_PORT},
readinessProbe: {
url: `http://localhost:${SERVER_PORT}/health`
}
}
}
Creates dev server with command "npm run server:dev", pass PORT
env variable and wait until its ready to receive network requests
Command could also be "node some/file.js
" or something else.
v0.1.2
🚀 Improvements
- ability to read tests in ".jsx" and ".tsx" files (#906)
- implement experimental feature to run component/unit tests in browser (#906)
How to try it:
// testplane.conf.ts
export default {
// ...
system: {
testRunEnv: "browser"
}
}
// tests/example.testplane.tsx
it("test", async ({browser}) => {
render(<h1>Hello</h1>);
await expect(browser.$('h1')).toHaveTitle('Hello');
});