3 hours ago · Tech · hide · 0 comments

New job? New toolset to explore! In this post I'll be investigating a new JavaScript package manager and runtime environment called bun.sh. You may have noticed on Playwright.Dev's Getting Started / Installation section there are three different ways to install a ui or api test automation framework the latest version of Playwright:npm init playwright@latestyarn create playwrightpnpm create playwrightFor this blog post I'll be investigating a fourth way, the new toolset they just started using at work, bun.sh.bun create playwrightWhen putting together a Playwright automation framework based around JavaScript and TypeScript, Playwright uses the Node.js JavaScript runtime environment, to run its test runner, execute automation scripts, and manage its browser instances.(See Nodejs.org / About )There is a division of labor: Node.js runs Playwright's internal functions. NPM, Yarn, PNMP, and now Bun handle the packages. Each package manager has its own specialization. NPM is bundled already…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.